Skip to content

Commit

Permalink
Add test for OpenACCs explicit constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
tcclevenger committed Jul 26, 2024
1 parent 600d53f commit 6d793a3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/unit_test/TestExecutionSpace.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ constexpr bool test_execspace_explicit_construction() {
#endif
#endif

#ifdef KOKKOS_ENABLE_OPENACC
static_assert(!std::is_convertible_v<int, Kokkos::Experimental::OpenACC>);
#endif
#ifdef KOKKOS_ENABLE_SYCL
static_assert(
!std::is_convertible_v<sycl::queue, Kokkos::Experimental::SYCL>);
Expand Down

0 comments on commit 6d793a3

Please sign in to comment.