diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-11-18 21:40:34 +0100 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-11-18 21:40:34 +0100 |
| commit | 2116b46f784aa9bc0dcbb1b6bfc22183d979b919 (patch) | |
| tree | 801c8b8d46fef063b32b79797b6e51393e081a9d /modules/remote-sycl/c++ | |
| parent | 668e53e42e210d2cedf29281eb187e8d7f129651 (diff) | |
| download | forstio-forstio-2116b46f784aa9bc0dcbb1b6bfc22183d979b919.tar.gz | |
Sycl tests rewrite
Diffstat (limited to 'modules/remote-sycl/c++')
| -rw-r--r-- | modules/remote-sycl/c++/data.hpp | 5 |
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; } }; +} |
