Update Kokkos library in LAMMPS to v4.5.0

This commit is contained in:
Stan Moore
2024-12-13 09:23:03 -07:00
parent a78aee5731
commit 7f68aeb6d5
617 changed files with 21499 additions and 17255 deletions

View File

@ -58,7 +58,7 @@ struct TestFunctorA {
} else if (m_apiPick == 2) {
using value_type = typename ViewType::value_type;
auto it = KE::unique(member, KE::begin(myRowView), KE::end(myRowView),
CustomEqualityComparator<value_type>{});
CustomEqualityComparator<value_type>{});
resultDist = KE::distance(KE::begin(myRowView), it);
Kokkos::single(Kokkos::PerTeam(member), [=, *this]() {
m_distancesView(myRowIndex) = resultDist;
@ -138,7 +138,7 @@ void test_A(std::size_t numTeams, std::size_t numCols, int apiId) {
stdDistance = KE::distance(KE::begin(myRow), it);
} else {
auto it = std::unique(KE::begin(myRow), KE::end(myRow),
CustomEqualityComparator<value_type>{});
CustomEqualityComparator<value_type>{});
stdDistance = KE::distance(KE::begin(myRow), it);
}
ASSERT_EQ(stdDistance, distancesView_h(i));