Skip to content

Commit

Permalink
Disable tests failing with SYCL+Cuda after update to oneAPI 2023.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
masterleinad committed Jan 25, 2023
1 parent 3369267 commit b0be8e6
Show file tree
Hide file tree
Showing 15 changed files with 63 additions and 3 deletions.
3 changes: 3 additions & 0 deletions algorithms/unit_tests/TestStdAlgorithmsCopyIf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,9 @@ void run_all_scenarios() {
}

TEST(std_algorithms_mod_seq_ops, copy_if) {
#if defined(KOKKOS_ENABLE_SYCL) && !defined(KOKKOS_ARCH_INTEL_GPU)
GTEST_SKIP() << "skipping for SYCL+Cuda";
#endif
run_all_scenarios<DynamicTag, int>();
run_all_scenarios<StridedThreeTag, int>();
}
Expand Down
3 changes: 3 additions & 0 deletions algorithms/unit_tests/TestStdAlgorithmsRemove.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ void run_all_scenarios() {
}

TEST(std_algorithms_mod_seq_ops, remove) {
#if defined(KOKKOS_ENABLE_SYCL) && !defined(KOKKOS_ARCH_INTEL_GPU)
GTEST_SKIP() << "skipping for SYCL+Cuda";
#endif
run_all_scenarios<DynamicTag, int>();
run_all_scenarios<StridedThreeTag, int>();
}
Expand Down
3 changes: 3 additions & 0 deletions algorithms/unit_tests/TestStdAlgorithmsRemoveCopy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,9 @@ void run_all_scenarios() {
}

TEST(std_algorithms_mod_seq_ops, remove_copy) {
#if defined(KOKKOS_ENABLE_SYCL) && !defined(KOKKOS_ARCH_INTEL_GPU)
GTEST_SKIP() << "skipping for SYCL+Cuda";
#endif
run_all_scenarios<DynamicTag, int>();
run_all_scenarios<StridedThreeTag, int>();
run_all_scenarios<DynamicTag, double>();
Expand Down
3 changes: 3 additions & 0 deletions algorithms/unit_tests/TestStdAlgorithmsRemoveCopyIf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,9 @@ void run_all_scenarios() {
}

TEST(std_algorithms_mod_seq_ops, remove_copy_if) {
#if defined(KOKKOS_ENABLE_SYCL) && !defined(KOKKOS_ARCH_INTEL_GPU)
GTEST_SKIP() << "skipping for SYCL+Cuda";
#endif
run_all_scenarios<DynamicTag, int>();
run_all_scenarios<StridedThreeTag, int>();
}
Expand Down
3 changes: 3 additions & 0 deletions algorithms/unit_tests/TestStdAlgorithmsRemoveIf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,9 @@ void run_all_scenarios() {
}

TEST(std_algorithms_mod_seq_ops, remove_if) {
#if defined(KOKKOS_ENABLE_SYCL) && !defined(KOKKOS_ARCH_INTEL_GPU)
GTEST_SKIP() << "skipping for SYCL+Cuda";
#endif
run_all_scenarios<DynamicTag, int>();
run_all_scenarios<StridedThreeTag, int>();
}
Expand Down
3 changes: 3 additions & 0 deletions algorithms/unit_tests/TestStdAlgorithmsReplaceIf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,9 @@ void run_all_scenarios() {
}

TEST(std_algorithms_replace_ops_test, replace_if) {
#if defined(KOKKOS_ENABLE_SYCL) && !defined(KOKKOS_ARCH_INTEL_GPU)
GTEST_SKIP() << "skipping for SYCL+Cuda";
#endif
run_all_scenarios<DynamicTag, double>();
run_all_scenarios<StridedThreeTag, double>();
run_all_scenarios<DynamicTag, int>();
Expand Down
3 changes: 3 additions & 0 deletions algorithms/unit_tests/TestStdAlgorithmsRotate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,9 @@ void run_all_scenarios() {
}

TEST(std_algorithms_mod_seq_ops, rotate) {
#if defined(KOKKOS_ENABLE_SYCL) && !defined(KOKKOS_ARCH_INTEL_GPU)
GTEST_SKIP() << "skipping for SYCL+Cuda";
#endif
run_all_scenarios<DynamicTag, int>();
run_all_scenarios<StridedThreeTag, int>();
run_all_scenarios<DynamicTag, double>();
Expand Down
3 changes: 3 additions & 0 deletions algorithms/unit_tests/TestStdAlgorithmsShiftLeft.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,9 @@ void run_all_scenarios() {
}

TEST(std_algorithms_mod_seq_ops, shift_left) {
#if defined(KOKKOS_ENABLE_SYCL) && !defined(KOKKOS_ARCH_INTEL_GPU)
GTEST_SKIP() << "skipping for SYCL+Cuda";
#endif
run_all_scenarios<DynamicTag, int>();
run_all_scenarios<StridedThreeTag, int>();
run_all_scenarios<DynamicTag, double>();
Expand Down
3 changes: 3 additions & 0 deletions algorithms/unit_tests/TestStdAlgorithmsShiftRight.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,9 @@ void run_all_scenarios() {
}

TEST(std_algorithms_mod_seq_ops, shift_right) {
#if defined(KOKKOS_ENABLE_SYCL) && !defined(KOKKOS_ARCH_INTEL_GPU)
GTEST_SKIP() << "skipping for SYCL+Cuda";
#endif
run_all_scenarios<DynamicTag, int>();
run_all_scenarios<StridedThreeTag, int>();
run_all_scenarios<DynamicTag, double>();
Expand Down
3 changes: 3 additions & 0 deletions algorithms/unit_tests/TestStdAlgorithmsUnique.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,9 @@ void run_all_scenarios() {
}

TEST(std_algorithms_mod_seq_ops, unique) {
#if defined(KOKKOS_ENABLE_SYCL) && !defined(KOKKOS_ARCH_INTEL_GPU)
GTEST_SKIP() << "skipping for SYCL+Cuda";
#endif
run_all_scenarios<DynamicTag, int>();
run_all_scenarios<StridedThreeTag, int>();
}
Expand Down
3 changes: 3 additions & 0 deletions algorithms/unit_tests/TestStdAlgorithmsUniqueCopy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,9 @@ void run_all_scenarios() {
}

TEST(std_algorithms_mod_seq_ops, unique_copy) {
#if defined(KOKKOS_ENABLE_SYCL) && !defined(KOKKOS_ARCH_INTEL_GPU)
GTEST_SKIP() << "skipping for SYCL+Cuda";
#endif
run_all_scenarios<DynamicTag, int>();
run_all_scenarios<StridedThreeTag, int>();
}
Expand Down
7 changes: 7 additions & 0 deletions containers/unit_tests/TestScatterView.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -758,6 +758,9 @@ void test_scatter_view(int64_t n) {
}

TEST(TEST_CATEGORY, scatterview) {
#if defined(KOKKOS_ENABLE_SYCL) && !defined(KOKKOS_ARCH_INTEL_GPU)
GTEST_SKIP() << "skipping for SYCL+Cuda";
#endif
test_scatter_view<TEST_EXECSPACE, Kokkos::Experimental::ScatterSum, double>(
10);

Expand Down Expand Up @@ -789,6 +792,10 @@ TEST(TEST_CATEGORY, scatterview) {
}

TEST(TEST_CATEGORY, scatterview_devicetype) {
#if defined(KOKKOS_ENABLE_SYCL) && !defined(KOKKOS_ARCH_INTEL_GPU)
GTEST_SKIP() << "skipping for SYCL+Cuda";
#endif

using device_type =
Kokkos::Device<TEST_EXECSPACE, typename TEST_EXECSPACE::memory_space>;

Expand Down
12 changes: 12 additions & 0 deletions core/perf_test/PerfTest_ExecSpacePartitioning.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@ struct FunctorTeamReduce {
};

TEST(default_exec, overlap_range_policy) {
#if defined(KOKKOS_ENABLE_SYCL) && !defined(KOKKOS_ARCH_INTEL_GPU)
GTEST_SKIP() << "skipping for SYCL+Cuda";
#endif

int N = 2000;
int M = 10000;
int R = 10;
Expand Down Expand Up @@ -316,6 +320,10 @@ TEST(default_exec, overlap_range_policy) {
}

TEST(default_exec, overlap_mdrange_policy) {
#if defined(KOKKOS_ENABLE_SYCL) && !defined(KOKKOS_ARCH_INTEL_GPU)
GTEST_SKIP() << "skipping for SYCL+Cuda";
#endif

int N = 200;
int M = 10000;
int R = 10;
Expand Down Expand Up @@ -495,6 +503,10 @@ TEST(default_exec, overlap_mdrange_policy) {
}

TEST(default_exec, overlap_team_policy) {
#if defined(KOKKOS_ENABLE_SYCL) && !defined(KOKKOS_ARCH_INTEL_GPU)
GTEST_SKIP() << "skipping for SYCL+Cuda";
#endif

int N = 20;
int M = 1000000;
int R = 10;
Expand Down
6 changes: 6 additions & 0 deletions core/unit_test/TestCrs.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ void test_constructor(std::int32_t nrows) {
} // anonymous namespace

TEST(TEST_CATEGORY, crs_count_fill) {
#if defined(KOKKOS_ENABLE_SYCL) && !defined(KOKKOS_ARCH_INTEL_GPU)
GTEST_SKIP() << "skipping for SYCL+Cuda";
#endif
test_count_fill<TEST_EXECSPACE>(0);
test_count_fill<TEST_EXECSPACE>(1);
test_count_fill<TEST_EXECSPACE>(2);
Expand All @@ -185,6 +188,9 @@ TEST(TEST_CATEGORY, crs_count_fill) {
}

TEST(TEST_CATEGORY, crs_copy_constructor) {
#if defined(KOKKOS_ENABLE_SYCL) && !defined(KOKKOS_ARCH_INTEL_GPU)
GTEST_SKIP() << "skipping for SYCL+Cuda";
#endif
test_constructor<TEST_EXECSPACE>(0);
test_constructor<TEST_EXECSPACE>(1);
test_constructor<TEST_EXECSPACE>(2);
Expand Down
8 changes: 5 additions & 3 deletions core/unit_test/sycl/TestSYCL_TeamScratchStreams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,12 @@ void sycl_queue_scratch_test(
Kokkos::Experimental::SYCL default_space;
sycl::context default_context = default_space.sycl_queue().get_context();

sycl::default_selector device_selector;
sycl::queue queue(default_context, device_selector);
sycl::queue queue(default_context, sycl::default_selector_v);

std::array<Kokkos::Experimental::SYCL, K> sycl;
for (int i = 0; i < K; i++) {
sycl[i] = Kokkos::Experimental::SYCL(
sycl::queue(default_context, device_selector));
sycl::queue(default_context, sycl::default_selector_v));
}

// Test that growing scratch size in subsequent calls doesn't crash things
Expand Down Expand Up @@ -111,6 +110,9 @@ void sycl_queue_scratch_test(
} // namespace Impl

TEST(sycl, team_scratch_1_queues) {
#if defined(KOKKOS_ENABLE_SYCL) && !defined(KOKKOS_ARCH_INTEL_GPU)
GTEST_SKIP() << "skipping for SYCL+Cuda";
#endif
int N = 1000000;
int T = 10;
int M_base = 150;
Expand Down

0 comments on commit b0be8e6

Please sign in to comment.