Update Kokkos library in LAMMPS to v4.2

This commit is contained in:
Stan Gerald Moore
2023-11-21 15:02:12 -07:00
parent 33dcfb5390
commit 3306b95589
493 changed files with 41548 additions and 15629 deletions

View File

@ -907,7 +907,13 @@ void impl_test_local_deepcopy_rangepolicy_rank_7(const int N) {
#if defined(KOKKOS_ENABLE_CXX11_DISPATCH_LAMBDA)
TEST(TEST_CATEGORY, local_deepcopy_teampolicy_layoutleft) {
using ExecSpace = TEST_EXECSPACE;
using ViewType = Kokkos::View<double********, Kokkos::LayoutLeft, ExecSpace>;
#if defined(KOKKOS_ENABLE_CUDA) && \
defined(KOKKOS_COMPILER_NVHPC) // FIXME_NVHPC 23.7
if (std::is_same_v<ExecSpace, Kokkos::Cuda>)
GTEST_SKIP()
<< "FIXME_NVHPC : Compiler bug affecting subviews of high rank Views";
#endif
using ViewType = Kokkos::View<double********, Kokkos::LayoutLeft, ExecSpace>;
{ // Rank-1
impl_test_local_deepcopy_teampolicy_rank_1<ExecSpace, ViewType>(8);
@ -934,7 +940,13 @@ TEST(TEST_CATEGORY, local_deepcopy_teampolicy_layoutleft) {
//-------------------------------------------------------------------------------------------------------------
TEST(TEST_CATEGORY, local_deepcopy_rangepolicy_layoutleft) {
using ExecSpace = TEST_EXECSPACE;
using ViewType = Kokkos::View<double********, Kokkos::LayoutLeft, ExecSpace>;
#if defined(KOKKOS_ENABLE_CUDA) && \
defined(KOKKOS_COMPILER_NVHPC) // FIXME_NVHPC 23.7
if (std::is_same_v<ExecSpace, Kokkos::Cuda>)
GTEST_SKIP()
<< "FIXME_NVHPC : Compiler bug affecting subviews of high rank Views";
#endif
using ViewType = Kokkos::View<double********, Kokkos::LayoutLeft, ExecSpace>;
{ // Rank-1
impl_test_local_deepcopy_rangepolicy_rank_1<ExecSpace, ViewType>(8);
@ -961,6 +973,12 @@ TEST(TEST_CATEGORY, local_deepcopy_rangepolicy_layoutleft) {
//-------------------------------------------------------------------------------------------------------------
TEST(TEST_CATEGORY, local_deepcopy_teampolicy_layoutright) {
using ExecSpace = TEST_EXECSPACE;
#if defined(KOKKOS_ENABLE_CUDA) && \
defined(KOKKOS_COMPILER_NVHPC) // FIXME_NVHPC 23.7
if (std::is_same_v<ExecSpace, Kokkos::Cuda>)
GTEST_SKIP()
<< "FIXME_NVHPC : Compiler bug affecting subviews of high rank Views";
#endif
using ViewType = Kokkos::View<double********, Kokkos::LayoutRight, ExecSpace>;
{ // Rank-1
@ -988,6 +1006,13 @@ TEST(TEST_CATEGORY, local_deepcopy_teampolicy_layoutright) {
//-------------------------------------------------------------------------------------------------------------
TEST(TEST_CATEGORY, local_deepcopy_rangepolicy_layoutright) {
using ExecSpace = TEST_EXECSPACE;
#if defined(KOKKOS_ENABLE_CUDA) && \
defined(KOKKOS_COMPILER_NVHPC) // FIXME_NVHPC 23.7
if (std::is_same_v<ExecSpace, Kokkos::Cuda>)
GTEST_SKIP()
<< "FIXME_NVHPC : Compiler bug affecting subviews of high rank Views";
#endif
using ViewType = Kokkos::View<double********, Kokkos::LayoutRight, ExecSpace>;
{ // Rank-1