From ec90ff981b016800a964135f049c9be53ba98615 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Wed, 21 Jan 2026 10:57:58 +0100 Subject: More sycl things --- lib/sycl/c++/data.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/sycl/c++/data.hpp') diff --git a/lib/sycl/c++/data.hpp b/lib/sycl/c++/data.hpp index bba52d6..44bc5dc 100644 --- a/lib/sycl/c++/data.hpp +++ b/lib/sycl/c++/data.hpp @@ -18,11 +18,11 @@ struct struct_has_only_equal_dimension_array{}; } namespace saw { -template +template class data, Keys>...>, kel::lbm::encode::Sycl> final { public: static constexpr data*...>; + using StorageT = std::tuple*...>; private: /** @@ -81,6 +81,8 @@ struct sycl_malloc_struct_helper, Encode> final { if constexpr (i < sizeof...(Members)){ using M = typename saw::parameter_pack_type::type; auto& ptr = std::get(storage); + + ptr = sycl::malloc_device(,q); return allocate_on_device_member(storage,q); -- cgit v1.2.3