summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorClaudius 'keldu' Holeksa <mail@keldu.de>2024-12-02 19:40:21 +0100
committerClaudius 'keldu' Holeksa <mail@keldu.de>2024-12-02 19:40:21 +0100
commit96da4450016ce61d3de259c112affe1e7334ff42 (patch)
tree6334d51c38829ee63bca21fbcc6beaaf896cfb20 /modules
parent92de8bcca3ff3e3aa11c28190310f18950b49e0e (diff)
Somewhat broken. But I need to use the data types everywhere.
Diffstat (limited to 'modules')
-rw-r--r--modules/remote-sycl/c++/data.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/remote-sycl/c++/data.hpp b/modules/remote-sycl/c++/data.hpp
index 7481d53..f50d10a 100644
--- a/modules/remote-sycl/c++/data.hpp
+++ b/modules/remote-sycl/c++/data.hpp
@@ -12,7 +12,7 @@ template<typename Schema>
class data<Schema, encode::Sycl<encode::Native>> {
private:
cl::sycl::buffer<data<Schema, encode::Native>> data_;
- uint64_t size_;
+ data<schema::UInt64, encode::Sycl<encode::Native>> size_;
public:
data(const data<Schema, encode::Native>& data__):
data_{&data__, 1u},
@@ -27,7 +27,7 @@ public:
return data_;
}
- uint64_t size() const {
+ data<schema::UInt64, encode::Sycl<encode::Native>> size() const {
return size_;
}