Skip to content

Commit

Permalink
kokkos#5635: Enable TeamThreadRange test for CUDA
Browse files Browse the repository at this point in the history
  • Loading branch information
thearusable authored and cz4rs committed Sep 14, 2023
1 parent 1fb6f4a commit 6d794df
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions core/unit_test/TestTeamScan.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,9 @@ TEST(TEST_CATEGORY, team_scan) {

// Temporary: This condition will progressively be reduced when parallel_scan
// with return value will be implemented for more backends.
#if defined(KOKKOS_ENABLE_SERIAL) || defined(KOKKOS_ENABLE_OPENMP)
#if !defined(KOKKOS_ENABLE_CUDA) && !defined(KOKKOS_ENABLE_HIP) && \
!defined(KOKKOS_ENABLE_OPENACC) && !defined(KOKKOS_ENABLE_SYCL) && \
!defined(KOKKOS_ENABLE_THREADS) && !defined(KOKKOS_ENABLE_OPENMPTARGET) && \
!defined(KOKKOS_ENABLE_HPX)
#if !defined(KOKKOS_ENABLE_HIP) && !defined(KOKKOS_ENABLE_OPENACC) && \
!defined(KOKKOS_ENABLE_SYCL) && !defined(KOKKOS_ENABLE_THREADS) && \
!defined(KOKKOS_ENABLE_OPENMPTARGET) && !defined(KOKKOS_ENABLE_HPX)
template <class ExecutionSpace, class DataType>
struct TestTeamScanRetVal {
using execution_space = ExecutionSpace;
Expand Down Expand Up @@ -256,6 +254,5 @@ TEST(TEST_CATEGORY, team_scan_ret_val) {
TestTeamScanRetVal<TEST_EXECSPACE, double>{}(2596, 1311);
}
#endif
#endif

} // namespace Test

0 comments on commit 6d794df

Please sign in to comment.