summaryrefslogtreecommitdiff
path: root/modules/remote-sycl/c++/data.hpp
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2024-06-26 12:30:30 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2024-06-26 12:30:30 +0200
commiteda37df9c399b23dc5bdb668730101a87f4770ce (patch)
tree1c8272cf2e724617f144aed8a9cd185408f02ef3 /modules/remote-sycl/c++/data.hpp
parent729307460e77f62a532ee9841dcaed9c47f46419 (diff)
Attempting to fix async errors
Diffstat (limited to 'modules/remote-sycl/c++/data.hpp')
-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 3ad1d9c..42bc3b1 100644
--- a/modules/remote-sycl/c++/data.hpp
+++ b/modules/remote-sycl/c++/data.hpp
@@ -13,7 +13,7 @@ class data<Schema, encode::Native, rmt::Sycl> {
private:
cl::sycl::buffer<data<Schema, encode::Native, storage::Default>> data_;
public:
- data(data<Schema, encode::Native, storage::Default>& data__):
+ data(const data<Schema, encode::Native, storage::Default>& data__):
data_{&data__, 1u}
{}