From ea3564475a0e8431c553fb34d4b680e05c451c8a Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Thu, 30 Jul 2026 21:27:06 +0200 Subject: Turns out, you need to reference the data type you retrieve ._. --- examples/moving_poiseulle_particles_2d_fplbm_gpu/sim.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/moving_poiseulle_particles_2d_fplbm_gpu') diff --git a/examples/moving_poiseulle_particles_2d_fplbm_gpu/sim.cpp b/examples/moving_poiseulle_particles_2d_fplbm_gpu/sim.cpp index 42495c6..f6c09e9 100644 --- a/examples/moving_poiseulle_particles_2d_fplbm_gpu/sim.cpp +++ b/examples/moving_poiseulle_particles_2d_fplbm_gpu/sim.cpp @@ -134,7 +134,7 @@ saw::error_or init( } }, {},// 0-index - df_f.get_dims() + dfs_f.get_dims() ); saw::data> rad; @@ -350,7 +350,7 @@ saw::error_or lbm_main(int argc, char** argv){ auto lsdm_view = make_view(lbm_sycl_macro_data); auto lsdp_view = make_view(lbm_sycl_parts_data); - saw::data time_steps{16u*4096ul}; + saw::data time_steps{32u*2048ul}; auto& info_f = lsd_view.template get<"info">(); for(saw::data i{0u}; i < time_steps and krun; ++i){ -- cgit v1.2.3