Update region_sphere_kokkos.cpp

This commit is contained in:
alphataubio
2024-10-05 11:59:50 -04:00
parent 81f96d3ea3
commit 84b50bfd26

View File

@ -64,8 +64,8 @@ void RegSphereKokkos<DeviceType>::match_all_kokkos(int groupbit_in, DAT::tdual_i
copymode = 1;
// FIXME: capture lambda reference to KOKKOS_INLINE_FUNCTION match()
// workaround: KOKKOS_CLASS_LAMBDA instead of KOKKOS_LAMBDA
// capture lambda reference to KOKKOS_INLINE_FUNCTION match()
// use KOKKOS_CLASS_LAMBDA instead of KOKKOS_LAMBDA
// https://github.com/kokkos/kokkos/issues/695
Kokkos::parallel_for(atom->nlocal, KOKKOS_CLASS_LAMBDA( const int &i ) {