From c410ddfebd40aedf75d0927a0e6581bf48b5b1c3 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Tue, 7 Oct 2025 17:52:16 +0200 Subject: Fixing center of mass calculations --- examples/cavity_2d_gpu/cavity_2d_gpu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/cavity_2d_gpu') diff --git a/examples/cavity_2d_gpu/cavity_2d_gpu.cpp b/examples/cavity_2d_gpu/cavity_2d_gpu.cpp index edb7dd8..cc0a811 100644 --- a/examples/cavity_2d_gpu/cavity_2d_gpu.cpp +++ b/examples/cavity_2d_gpu/cavity_2d_gpu.cpp @@ -185,7 +185,7 @@ void set_initial_conditions(saw::data& latt){ } void lbm_step( - saw::data& latt, + acpp::sycl::buffer>& latt, bool even_step, uint64_t time_step, acpp::sycl::queue& sycl_q @@ -310,7 +310,7 @@ int main(){ write_vtk_file(vtk_f_name, macros); } - lbm_step(lattice, (i%2u == 0u), i, sycl_q); + lbm_step(df_sycl, (i%2u == 0u), i, sycl_q); } return 0; } -- cgit v1.2.3