@@ -539,11 +539,8 @@ void view_copy(const ExecutionSpace& space, const DstType& dst,
539
539
int64_t strides[DstType::rank + 1 ];
540
540
dst.stride (strides);
541
541
Kokkos::Iterate iterate;
542
- if (Kokkos::is_layouttiled<typename DstType::array_layout>::value) {
543
- iterate = Kokkos::layout_iterate_type_selector<
544
- typename DstType::array_layout>::outer_iteration_pattern;
545
- } else if (std::is_same<typename DstType::array_layout,
546
- Kokkos::LayoutRight>::value) {
542
+ if (std::is_same<typename DstType::array_layout,
543
+ Kokkos::LayoutRight>::value) {
547
544
iterate = Kokkos::Iterate::Right;
548
545
} else if (std::is_same<typename DstType::array_layout,
549
546
Kokkos::LayoutLeft>::value) {
@@ -630,11 +627,8 @@ void view_copy(const DstType& dst, const SrcType& src) {
630
627
int64_t strides[DstType::rank + 1 ];
631
628
dst.stride (strides);
632
629
Kokkos::Iterate iterate;
633
- if (Kokkos::is_layouttiled<typename DstType::array_layout>::value) {
634
- iterate = Kokkos::layout_iterate_type_selector<
635
- typename DstType::array_layout>::outer_iteration_pattern;
636
- } else if (std::is_same<typename DstType::array_layout,
637
- Kokkos::LayoutRight>::value) {
630
+ if (std::is_same<typename DstType::array_layout,
631
+ Kokkos::LayoutRight>::value) {
638
632
iterate = Kokkos::Iterate::Right;
639
633
} else if (std::is_same<typename DstType::array_layout,
640
634
Kokkos::LayoutLeft>::value) {
@@ -3092,8 +3086,7 @@ inline std::enable_if_t<
3092
3086
std::is_same<typename Kokkos::View<T, P...>::array_layout,
3093
3087
Kokkos::LayoutRight>::value ||
3094
3088
std::is_same<typename Kokkos::View<T, P...>::array_layout,
3095
- Kokkos::LayoutStride>::value ||
3096
- is_layouttiled<typename Kokkos::View<T, P...>::array_layout>::value>
3089
+ Kokkos::LayoutStride>::value>
3097
3090
impl_resize (const Impl::ViewCtorProp<ViewCtorArgs...>& arg_prop,
3098
3091
Kokkos::View<T, P...>& v,
3099
3092
const typename Kokkos::View<T, P...>::array_layout& layout) {
@@ -3139,8 +3132,7 @@ inline std::enable_if_t<
3139
3132
std::is_same<typename Kokkos::View<T, P...>::array_layout,
3140
3133
Kokkos::LayoutRight>::value ||
3141
3134
std::is_same<typename Kokkos::View<T, P...>::array_layout,
3142
- Kokkos::LayoutStride>::value ||
3143
- is_layouttiled<typename Kokkos::View<T, P...>::array_layout>::value)>
3135
+ Kokkos::LayoutStride>::value)>
3144
3136
impl_resize (const Impl::ViewCtorProp<ViewCtorArgs...>& arg_prop,
3145
3137
Kokkos::View<T, P...>& v,
3146
3138
const typename Kokkos::View<T, P...>::array_layout& layout) {
@@ -3308,8 +3300,7 @@ inline std::enable_if_t<
3308
3300
std::is_same<typename Kokkos::View<T, P...>::array_layout,
3309
3301
Kokkos::LayoutRight>::value ||
3310
3302
std::is_same<typename Kokkos::View<T, P...>::array_layout,
3311
- Kokkos::LayoutStride>::value ||
3312
- is_layouttiled<typename Kokkos::View<T, P...>::array_layout>::value>
3303
+ Kokkos::LayoutStride>::value>
3313
3304
impl_realloc (Kokkos::View<T, P...>& v,
3314
3305
const typename Kokkos::View<T, P...>::array_layout& layout,
3315
3306
const Impl::ViewCtorProp<ViewCtorArgs...>& arg_prop) {
@@ -3351,8 +3342,7 @@ inline std::enable_if_t<
3351
3342
std::is_same<typename Kokkos::View<T, P...>::array_layout,
3352
3343
Kokkos::LayoutRight>::value ||
3353
3344
std::is_same<typename Kokkos::View<T, P...>::array_layout,
3354
- Kokkos::LayoutStride>::value ||
3355
- is_layouttiled<typename Kokkos::View<T, P...>::array_layout>::value)>
3345
+ Kokkos::LayoutStride>::value)>
3356
3346
impl_realloc (Kokkos::View<T, P...>& v,
3357
3347
const typename Kokkos::View<T, P...>::array_layout& layout,
3358
3348
const Impl::ViewCtorProp<ViewCtorArgs...>& arg_prop) {
0 commit comments