Update Kokkos library in LAMMPS to v4.2

This commit is contained in:
Stan Gerald Moore
2023-11-21 15:02:12 -07:00
parent 33dcfb5390
commit 3306b95589
493 changed files with 41548 additions and 15629 deletions

View File

@ -63,7 +63,8 @@ struct TestMathematicalConstants {
KOKKOS_FUNCTION void use_on_device() const {
#if defined(KOKKOS_COMPILER_NVCC) || defined(KOKKOS_ENABLE_OPENMPTARGET) || \
defined(KOKKOS_ENABLE_OPENACC) || defined(KOKKOS_COMPILER_NVHPC)
defined(KOKKOS_ENABLE_OPENACC) || \
defined(KOKKOS_COMPILER_NVHPC) // FIXME_NVHPC 23.7
take_by_value(Trait::value);
#else
(void)take_address_of(Trait::value);