From 00db65731cb3caffde7c1896cc0b56cd042146bc Mon Sep 17 00:00:00 2001 From: Sam Reeve <6740307+streeve@users.noreply.github.com> Date: Wed, 18 Dec 2024 18:43:19 -0500 Subject: [PATCH] fixup: use older range policy syntax --- src/CabanaPD_Particles.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/CabanaPD_Particles.hpp b/src/CabanaPD_Particles.hpp index 0291dd1..494facd 100644 --- a/src/CabanaPD_Particles.hpp +++ b/src/CabanaPD_Particles.hpp @@ -487,8 +487,8 @@ class Particles // This is necessary to avoid Cuda lambda capture issues in the constructor. template - void implInitCustomParticles( const ExecSpace& exec_space, - const PositionType& x, const VolumeType& vol ) + void implInitCustomParticles( const ExecSpace, const PositionType& x, + const VolumeType& vol ) { resize( vol.size(), 0 ); auto p_x = sliceReferencePosition(); @@ -505,7 +505,7 @@ class Particles memory_space, typename PositionType::execution_space>::value ); Kokkos::parallel_for( - "copy_to_particles", Kokkos::RangePolicy( exec_space, 0, n_local ), + "copy_to_particles", Kokkos::RangePolicy( 0, n_local ), KOKKOS_LAMBDA( const int pid ) { // Set the particle position and volume. // Set everything else to zero.