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

@ -154,7 +154,7 @@ void fill_view(ViewType dest_view, ValueType value, std::size_t count,
}
else {
throw std::runtime_error("Kokkos: test: search_n: this should not happen");
FAIL() << "Kokkos: test: search_n: this should not happen";
}
Kokkos::deep_copy(aux_view, v_h);
@ -208,7 +208,7 @@ void run_single_scenario(const InfoType& scenario_info, std::size_t count,
{
auto myrit = KE::search_n("label", exespace(), KE::cbegin(view),
KE::cend(view), count, value, args...);
KE::cend(view), count, value, args...);
const auto mydiff = myrit - KE::cbegin(view);
ASSERT_EQ(mydiff, stddiff);
}