Skip to content

Commit 94e0c5f

Browse files
committed
Fix int to size_t narrowing for SYCL, closes UoB-HPC#92
1 parent 9025afe commit 94e0c5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SYCLStream.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class SYCLStream : public Stream<T>
3131
{
3232
protected:
3333
// Size of arrays
34-
int array_size;
34+
size_t array_size;
3535

3636
// SYCL objects
3737
cl::sycl::queue *queue;

0 commit comments

Comments
 (0)