summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/remote-sycl/c++/data.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/remote-sycl/c++/data.hpp b/modules/remote-sycl/c++/data.hpp
index 4aec046..11dfbf2 100644
--- a/modules/remote-sycl/c++/data.hpp
+++ b/modules/remote-sycl/c++/data.hpp
@@ -47,7 +47,7 @@ public:
sycl_alloc_{q__},
dims_{dims__},
size_{get_full_size()},
- data_{size_,sycl_alloc_}
+ data_{size_.get(),sycl_alloc_}
{}
auto* get_internal_data() {