diff options
Diffstat (limited to 'modules/remote-sycl/c++/data.hpp')
| -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; } }; +} |
