Skip to content

Commit

Permalink
kokkos#6805: guard mdspan conversion test
Browse files Browse the repository at this point in the history
  • Loading branch information
nmm0 committed Mar 7, 2024
1 parent 741df00 commit caf9242
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/unit_test/view/TestMDSpanConversion.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@

#include <Kokkos_Core.hpp>

#ifdef KOKKOS_ENABLE_IMPL_MDSPAN

template <class T, class ExecutionSpace>
struct TestViewMDSpanConversion {
using value_type = T;
Expand Down Expand Up @@ -114,3 +116,5 @@ TEST(TEST_CATEGORY, view_mdspan_conversion) {
}

} // namespace Test

#endif // KOKKOS_ENABLE_IMPL_MDSPAN

0 comments on commit caf9242

Please sign in to comment.