44 #ifndef TPETRA_KOKKOS_REFACTOR_DETAILS_MULTI_VECTOR_LOCAL_DEEP_COPY_UQ_PCE_HPP 45 #define TPETRA_KOKKOS_REFACTOR_DETAILS_MULTI_VECTOR_LOCAL_DEEP_COPY_UQ_PCE_HPP 47 #include "Tpetra_KokkosRefactor_Details_MultiVectorLocalDeepCopy.hpp" 53 template<
class DT,
class ... DP,
54 class ST,
class ... SP,
55 class DstWhichVecsType,
56 class SrcWhichVecsType>
57 typename std::enable_if<
61 const Kokkos::View<DT,DP...>& dst,
62 const Kokkos::View<ST,SP...>& src,
63 const bool dstConstStride,
const bool srcConstStride,
64 const DstWhichVecsType& dstWhichVecs,
65 const SrcWhichVecsType& srcWhichVecs)
67 typedef Kokkos::View<DT,DP...> DstViewType;
68 typedef Kokkos::View<ST,SP...> SrcViewType;
71 localDeepCopy( dst_flat, src_flat, dstConstStride, srcConstStride,
72 dstWhichVecs, srcWhichVecs );
75 template<
class DT,
class ... DP,
76 class ST,
class ... SP>
77 typename std::enable_if<
81 const Kokkos::View<DT,DP...>& dst,
82 const Kokkos::View<ST,SP...>& src)
84 typedef Kokkos::View<DT,DP...> DstViewType;
85 typedef Kokkos::View<ST,SP...> SrcViewType;
94 #endif // TPETRA_KOKKOS_REFACTOR_DETAILS_MULTI_VECTOR_LOCAL_DEEP_COPY_UQ_PCE_HPP
std::enable_if< Kokkos::is_view_uq_pce< Kokkos::View< DT, DP... > >::value &&Kokkos::is_view_uq_pce< Kokkos::View< ST, SP... > >::value >::type localDeepCopy(const Kokkos::View< DT, DP... > &dst, const Kokkos::View< ST, SP... > &src, const bool dstConstStride, const bool srcConstStride, const DstWhichVecsType &dstWhichVecs, const SrcWhichVecsType &srcWhichVecs)
std::enable_if< Kokkos::is_view_uq_pce< Kokkos::View< DT, DP... > >::value &&Kokkos::is_view_uq_pce< Kokkos::View< ST, SP... > >::value >::type localDeepCopyConstStride(const Kokkos::View< DT, DP... > &dst, const Kokkos::View< ST, SP... > &src)