Update Kokkos library in LAMMPS to v4.2
This commit is contained in:
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user