Skip to content

Commit

Permalink
Try running for other execution spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
masterleinad committed May 16, 2023
1 parent e8dba15 commit c67ddea
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions core/unit_test/TestReducers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1212,6 +1212,9 @@ struct TestReducers {
#if defined(KOKKOS_ENABLE_OPENMPTARGET)
#if defined(KOKKOS_COMPILER_CLANG) && (KOKKOS_COMPILER_CLANG >= 1300)
test_minmaxloc(10007);
#else
if (!std::is_same_v<ExecSpace, Kokkos::Experimental::OpenMPTarget>)
test_minmaxloc(10007);
#endif
#else
test_minmaxloc(10007);
Expand All @@ -1230,10 +1233,11 @@ struct TestReducers {
#if !defined(KOKKOS_ENABLE_OPENACC)
// FIXME_OPENACC - OpenACC (V3.3) does not support custom reductions.
test_minloc(10003);
#if !defined(KOKKOS_COMPILER_NVHPC) // FIXME_NVHPC misaligned memory
#if defined(KOKKOS_COMPILER_NVHPC) // FIXME_NVHPC misaligned memory
if (!std::is_same_v<ExecSpace, Kokkos::Cuda>)
// FIXME_OPENMPTARGET requires custom reductions.
#if !defined(KOKKOS_ENABLE_OPENMPTARGET)
test_minloc_2d(100);
test_minloc_2d(100);
#endif
#endif
#endif
Expand All @@ -1242,9 +1246,10 @@ struct TestReducers {
// FIXME_OPENACC - OpenACC (V3.3) does not support custom reductions.
test_maxloc(10007);
#if !defined(KOKKOS_COMPILER_NVHPC) // FIXME_NVHPC misaligned memory
if (!std::is_same_v<ExecSpace, Kokkos::Cuda>)
// FIXME_OPENMPTARGET requires custom reductions.
#if !defined(KOKKOS_ENABLE_OPENMPTARGET)
test_maxloc_2d(100);
test_maxloc_2d(100);
#endif
#endif
#endif
Expand All @@ -1255,6 +1260,9 @@ struct TestReducers {
#if defined(KOKKOS_ENABLE_OPENMPTARGET)
#if defined(KOKKOS_COMPILER_CLANG) && (KOKKOS_COMPILER_CLANG >= 1300)
test_minmaxloc(10007);
#else
if (!std::is_same_v<ExecSpace, Kokkos::Experimental::OpenMPTarget>)
test_minmaxloc(10007);
#endif
#else
test_minmaxloc(10007);
Expand Down

0 comments on commit c67ddea

Please sign in to comment.