Skip to content

Commit

Permalink
fixup guard with nvcc version per review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ndellingwood committed Aug 1, 2024
1 parent 65a8ded commit 7e974b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion containers/src/Kokkos_DynRankView.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1958,7 +1958,8 @@ inline auto create_mirror(const DynRankView<T, P...>& src,
return dst_type(prop_copy,
Impl::reconstructLayout(src.layout(), src.rank()));
}
#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
}
Expand Down

0 comments on commit 7e974b9

Please sign in to comment.