diff --git a/containers/src/Kokkos_DynamicView.hpp b/containers/src/Kokkos_DynamicView.hpp index d7a0b471ba6..929afe9386c 100644 --- a/containers/src/Kokkos_DynamicView.hpp +++ b/containers/src/Kokkos_DynamicView.hpp @@ -998,7 +998,7 @@ auto create_mirror_view_and_copy( deep_copy(mirror, src); return mirror; } -#if defined(KOKKOS_COMPILER_NVCC) +#if defined(KOKKOS_COMPILER_NVCC) && KOKKOS_COMPILER_NVCC >= 1130 __builtin_unreachable(); #endif }