// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // SPDX-FileCopyrightText: Copyright Contributors to the Kokkos project #include #ifdef KOKKOS_ENABLE_EXPERIMENTAL_CXX20_MODULES import kokkos.core; import kokkos.dual_view; #else #include #include #endif #include namespace { template void not_supported_anymore( Kokkos::DualView x) { static_assert(Kokkos::is_dual_view_v); } template void prefer_instead(Kokkos::DualView x) { static_assert(Kokkos::is_dual_view_v); } using KDV = Kokkos::DualView; #ifdef KOKKOS_ENABLE_DEPRECATED_CODE_4 static_assert( std::is_void_v()))>); #endif static_assert(std::is_void_v()))>); } // namespace