Skip to content

Commit

Permalink
address review feedback; drop changes in tpls/mdspan/...
Browse files Browse the repository at this point in the history
mdspan changes handled in kokkos/mdspan#349
  • Loading branch information
ndellingwood committed Jun 20, 2024
1 parent 4a72714 commit 87eb97f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
4 changes: 2 additions & 2 deletions core/src/View/MDSpan/Kokkos_MDSpan_Layout.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ KOKKOS_INLINE_FUNCTION auto array_layout_from_mapping(
rank > 6 ? ext.extent(6) : KOKKOS_IMPL_CTOR_DEFAULT_ARG,
rank > 7 ? ext.extent(7) : KOKKOS_IMPL_CTOR_DEFAULT_ARG};
}
#if defined KOKKOS_COMPILER_INTEL
#ifdef KOKKOS_COMPILER_INTEL
__builtin_unreachable();
#endif
}
Expand Down Expand Up @@ -146,7 +146,7 @@ KOKKOS_INLINE_FUNCTION auto mapping_from_view_mapping(const VM &view_mapping) {
} else {
return mapping_type(extents_from_view_mapping<extents_type>(view_mapping));
}
#if defined KOKKOS_COMPILER_INTEL
#ifdef KOKKOS_COMPILER_INTEL
__builtin_unreachable();
#endif
}
Expand Down
12 changes: 0 additions & 12 deletions tpls/mdspan/include/experimental/__p2642_bits/layout_padded.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ MDSPAN_INLINE_FUNCTION constexpr size_t get_actual_static_padding_value() {
} else {
return dynamic_extent;
}
#ifdef __INTEL_COMPILER
__builtin_unreachable();
#endif
// Missing return statement warning from NVCC
#ifdef __NVCC__
return 0;
Expand Down Expand Up @@ -108,9 +105,6 @@ struct padded_extent {
} else {
return init_padding(exts, padding_value);
}
#ifdef __INTEL_COMPILER
__builtin_unreachable();
#endif
// Missing return statement warning from NVCC
#ifdef __NVCC__
return {};
Expand All @@ -126,9 +120,6 @@ struct padded_extent {
} else {
return {};
}
#ifdef __INTEL_COMPILER
__builtin_unreachable();
#endif
// Missing return statement warning from NVCC
#ifdef __NVCC__
return {};
Expand All @@ -144,9 +135,6 @@ struct padded_extent {
} else {
return {};
}
#ifdef __INTEL_COMPILER
__builtin_unreachable();
#endif
// Missing return statement warning from NVCC
#ifdef __NVCC__
return {};
Expand Down

0 comments on commit 87eb97f

Please sign in to comment.