From b192777212c3de6a9d25c5519269d9047865b2d1 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Mon, 7 Apr 2025 14:20:16 +0200 Subject: Fixed Sycl compilation issues to to recursive use --- modules/remote-sycl/tests/sycl_basics.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/remote-sycl/tests/sycl_basics.cpp') diff --git a/modules/remote-sycl/tests/sycl_basics.cpp b/modules/remote-sycl/tests/sycl_basics.cpp index 7d0bdb2..4ad3cf7 100644 --- a/modules/remote-sycl/tests/sycl_basics.cpp +++ b/modules/remote-sycl/tests/sycl_basics.cpp @@ -48,9 +48,9 @@ SAW_TEST("SYCL Test Setup"){ auto acc_buff = in.template access(h); - uint64_t si = host_data.template get<"doubles">().size(); + auto si = host_data.template get<"doubles">().size(); - h.parallel_for(cl::sycl::range<1>(si), [=] (cl::sycl::id<1> it){ + h.parallel_for(cl::sycl::range<1>(si.get()), [=] (cl::sycl::id<1> it){ acc_buff[0u].template get<"foo">() = acc_buff[0u].template get<"doubles">().size(); auto& dbls = acc_buff[0u].template get<"doubles">(); dbls.at(it[0u]) = it[0u] * 2.0; -- cgit v1.2.3