From 1fc2a0a591b5ec7692f6c7a145385dd626255d1f Mon Sep 17 00:00:00 2001 From: Nathan Ellingwood Date: Wed, 31 Jul 2024 17:38:51 -0600 Subject: [PATCH] Update core/src/Kokkos_CopyViews.hpp Co-authored-by: Daniel Arndt --- core/src/Kokkos_CopyViews.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/Kokkos_CopyViews.hpp b/core/src/Kokkos_CopyViews.hpp index 844a744d704..2a6cda7fadc 100644 --- a/core/src/Kokkos_CopyViews.hpp +++ b/core/src/Kokkos_CopyViews.hpp @@ -3509,7 +3509,7 @@ inline auto create_mirror(const Kokkos::View& src, using dst_type = typename View::HostMirror; return dst_type(prop_copy, src.layout()); } -#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 }