Update Kokkos library in LAMMPS to v4.6.0

This commit is contained in:
Stan Moore
2025-03-28 15:29:14 -06:00
parent 48893236ec
commit b7b9a4a599
384 changed files with 13243 additions and 9477 deletions

View File

@ -507,6 +507,20 @@ struct TestStruct {
}
};
#ifndef KOKKOS_ENABLE_CXX17
template <typename ViewType>
constexpr bool
test_kokkos_iterator_satify_std_random_access_iterator_concept() {
return std::random_access_iterator<
Kokkos::Experimental::Impl::RandomAccessIterator<ViewType>>;
}
static_assert(test_kokkos_iterator_satify_std_random_access_iterator_concept<
Kokkos::View<int *>>());
static_assert(test_kokkos_iterator_satify_std_random_access_iterator_concept<
Kokkos::View<const int *>>());
#endif
} // namespace compileonly
} // namespace stdalgos
} // namespace Test