summaryrefslogtreecommitdiff
path: root/modules/remote-sycl/c++/data.hpp
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2025-11-18 21:40:34 +0100
committerClaudius "keldu" Holeksa <mail@keldu.de>2025-11-18 21:40:34 +0100
commit2116b46f784aa9bc0dcbb1b6bfc22183d979b919 (patch)
tree801c8b8d46fef063b32b79797b6e51393e081a9d /modules/remote-sycl/c++/data.hpp
parent668e53e42e210d2cedf29281eb187e8d7f129651 (diff)
downloadforstio-forstio-2116b46f784aa9bc0dcbb1b6bfc22183d979b919.tar.gz
Sycl tests rewrite
Diffstat (limited to 'modules/remote-sycl/c++/data.hpp')
-rw-r--r--modules/remote-sycl/c++/data.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/remote-sycl/c++/data.hpp b/modules/remote-sycl/c++/data.hpp
index e057766..149e3f2 100644
--- a/modules/remote-sycl/c++/data.hpp
+++ b/modules/remote-sycl/c++/data.hpp
@@ -118,7 +118,7 @@ class data<schema::Ref<schema::Array<Sch, Dim>>, encode::Sycl<Encode>> {
public:
using Schema = schema::Ref<schema::Array<Sch,Dim>>;
private:
- data<schema::Sch, Encode>* internal_data_ptr_;
+ data<Sch, Encode>* internal_data_ptr_;
data<schema::FixedArray<schema::UInt64, Dim>, Encode> dims_;
data<schema::UInt64, Encode> size_;
@@ -148,7 +148,7 @@ private:
std::is_same_v<U,std::array<uint64_t,Dim>>,
"Unsupported type"
);
- assert(data_.size() == get_full_size());
+ assert(size_ == get_full_size());
uint64_t s = 0;
uint64_t stride = 1;
@@ -172,3 +172,4 @@ private:
return s;
}
};
+}