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

@ -95,7 +95,7 @@ void fill_view(ViewType dest_view, const std::string& name) {
}
else {
throw std::runtime_error("invalid choice");
FAIL() << "invalid choice";
}
Kokkos::deep_copy(aux_view, v_h);
@ -110,9 +110,9 @@ void verify_data(const std::string& name, ResultType my_result,
ViewTypeDestFalse view_dest_false, PredType pred) {
using value_type = typename ViewTypeFrom::value_type;
static_assert(
std::is_same<value_type, typename ViewTypeDestTrue::value_type>::value);
std::is_same_v<value_type, typename ViewTypeDestTrue::value_type>);
static_assert(
std::is_same<value_type, typename ViewTypeDestFalse::value_type>::value);
std::is_same_v<value_type, typename ViewTypeDestFalse::value_type>);
const std::size_t ext = view_from.extent(0);