summaryrefslogtreecommitdiff
path: root/modules/remote-sycl/c++/data.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/remote-sycl/c++/data.hpp')
-rw-r--r--modules/remote-sycl/c++/data.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/remote-sycl/c++/data.hpp b/modules/remote-sycl/c++/data.hpp
index d939a53..7481d53 100644
--- a/modules/remote-sycl/c++/data.hpp
+++ b/modules/remote-sycl/c++/data.hpp
@@ -9,12 +9,12 @@ namespace saw {
* Most of the times this will be a root object.
*/
template<typename Schema>
-class data<Schema, encode::Native, rmt::Sycl> {
+class data<Schema, encode::Sycl<encode::Native>> {
private:
- cl::sycl::buffer<data<Schema, encode::Native, storage::Default>> data_;
+ cl::sycl::buffer<data<Schema, encode::Native>> data_;
uint64_t size_;
public:
- data(const data<Schema, encode::Native, storage::Default>& data__):
+ data(const data<Schema, encode::Native>& data__):
data_{&data__, 1u},
size_{data__.size()}
{}