Update Kokkos library in LAMMPS to v3.7.0

This commit is contained in:
Stan Gerald Moore
2022-10-04 14:04:40 -06:00
parent dd072f7e08
commit f9f9e44f2d
653 changed files with 41432 additions and 33597 deletions

View File

@ -67,9 +67,9 @@ struct TestViewAPI<
Kokkos::MemoryTraits<0>; // maybe we want to add that later to the matrix
using view_type =
Kokkos::View<data_type, layout_type, space_type, traits_type>;
using alloc_layout_type = typename std::conditional<
std::is_same<layout_type, Kokkos::LayoutStride>::value,
Kokkos::LayoutLeft, layout_type>::type;
using alloc_layout_type =
std::conditional_t<std::is_same<layout_type, Kokkos::LayoutStride>::value,
Kokkos::LayoutLeft, layout_type>;
using d_alloc_type = Kokkos::View<data_type, alloc_layout_type, space_type>;
using h_alloc_type = typename Kokkos::View<data_type, alloc_layout_type,
space_type>::HostMirror;