Merge pull request #93 from UoB-HPC/sycl_size_t

Fix int to size_t narrowing for SYCL
This commit is contained in:
Tom Deakin 2021-03-10 17:09:04 +00:00 committed by GitHub
commit 3c637cd04d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,7 @@ class SYCLStream : public Stream<T>
{
protected:
// Size of arrays
int array_size;
size_t array_size;
// SYCL objects
cl::sycl::queue *queue;