From 18346ca25b838908b21c29a3e29f89e7a55a1474 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Thu, 16 Jul 2026 14:34:19 +0200 Subject: Adding meta as dims name --- modules/sycl/c++/data.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/sycl') diff --git a/modules/sycl/c++/data.hpp b/modules/sycl/c++/data.hpp index 9f43848..ec0fccf 100644 --- a/modules/sycl/c++/data.hpp +++ b/modules/sycl/c++/data.hpp @@ -103,6 +103,10 @@ public: return saw::data>{{Dims...}}; } + static constexpr data> meta() { + return saw::data>{{Dims...}}; + } + constexpr data& at(const data>& index){ return values_[kel::lbm::flatten_index::apply(index,get_dims()).get()]; } -- cgit v1.2.3