diff --git a/containers/src/Kokkos_DynamicView.hpp b/containers/src/Kokkos_DynamicView.hpp index f7bfea1df2a..d7a0b471ba6 100644 --- a/containers/src/Kokkos_DynamicView.hpp +++ b/containers/src/Kokkos_DynamicView.hpp @@ -716,7 +716,7 @@ inline auto create_mirror_view( return Kokkos::Impl::choose_create_mirror(src, arg_prop); } } -#if defined(KOKKOS_COMPILER_INTEL) || defined(KOKKOS_COMPILER_NVCC) +#if defined(KOKKOS_COMPILER_INTEL) || (defined(KOKKOS_COMPILER_NVCC) && KOKKOS_COMPILER_NVCC >= 1130) __builtin_unreachable(); #endif }