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

@ -174,10 +174,6 @@ TEST(TEST_CATEGORY, minmax) {
EXPECT_EQ(r2.first, 2);
EXPECT_EQ(r2.second, 3);
#ifndef KOKKOS_COMPILER_NVHPC // FIXME_NVHPC nvhpc can't deal with device side
// constexpr constructors so I removed the
// constexpr in pair, which makes static_assert
// here fail
static_assert((Kokkos::pair<float, float>(Kokkos::minmax(3.f, 2.f)) ==
Kokkos::make_pair(2.f, 3.f)));
static_assert(
@ -208,7 +204,6 @@ TEST(TEST_CATEGORY, minmax) {
::Test::PairIntCompareFirst{0, 5},
})
.second.second == 4); // rightmost
#endif
}
template <class ViewType>