Stokhos  Development
Public Types | Public Member Functions | List of all members
Kokkos::Impl::ViewAssignment< ViewPCEContiguous, ViewPCEContiguous, void > Struct Template Reference

Public Types

typedef ViewPCEContiguous specialize
 

Public Member Functions

template<class DT , class DL , class DD , class DM , class ST , class SL , class SD , class SM >
KOKKOS_INLINE_FUNCTION ViewAssignment (View< DT, DL, DD, DM, specialize > &dst, const View< ST, SL, SD, SM, specialize > &src, const typename enable_if<(ViewAssignable< View< DT, DL, DD, DM, specialize >, View< ST, SL, SD, SM, specialize > >::value)>::type *=0)
 Compatible value and shape.
 
template<class DT , class DL , class DD , class DM , class ST , class SL , class SD , class SM >
KOKKOS_INLINE_FUNCTION ViewAssignment (View< DT, DL, DD, DM, specialize > &dst, const View< ST, SL, SD, SM, specialize > &src, typename enable_if<(is_same< typename View< DT, DL, DD, DM, specialize >::intrinsic_scalar_type, typename View< ST, SL, SD, SM, specialize >::intrinsic_scalar_type >::value &&is_same< typename View< DT, DL, DD, DM, specialize >::memory_space, typename View< ST, SL, SD, SM, specialize >::memory_space >::value &&is_same< typename View< DT, DL, DD, DM, specialize >::array_layout, typename View< ST, SL, SD, SM, specialize >::array_layout >::value &&(unsigned(View< DT, DL, DD, DM, specialize >::Rank)==unsigned(View< ST, SL, SD, SM, specialize >::Rank))&&!View< DT, DL, DD, DM, specialize >::is_managed &&(View< DT, DL, DD, DM, specialize >::is_static &&View< ST, SL, SD, SM, specialize >::is_static)), const Sacado::UQ::PCEPartition & >::type part)
 Partition of compatible value and shape. More...
 
template<class DT , class DL , class DD , class DM , class ST , class SL , class SD , class SM , typename iType >
KOKKOS_INLINE_FUNCTION ViewAssignment (View< DT, DL, DD, DM, specialize > &dst, const View< ST, SL, SD, SM, specialize > &src, const std::pair< iType, iType > &range, typename enable_if< (ViewAssignable< View< DT, DL, DD, DM, specialize >, View< ST, SL, SD, SM, specialize > >::value &&(View< ST, SL, SD, SM, specialize >::rank==1)&&(View< DT, DL, DD, DM, specialize >::rank==1)&&(View< DT, DL, DD, DM, specialize >::rank_dynamic==1)) >::type *=0)
 Extract Rank-1 array from range of Rank-1 array, either layout.
 
template<class DT , class DL , class DD , class DM , class ST , class SL , class SD , class SM >
KOKKOS_INLINE_FUNCTION ViewAssignment (View< DT, DL, DD, DM, specialize > &dst, const View< ST, SL, SD, SM, specialize > &src, const ALL &, const typename enable_if< (ViewAssignable< ViewTraits< DT, DL, DD, DM >, ViewTraits< ST, SL, SD, SM > >::assignable_value &&is_same< typename ViewTraits< ST, SL, SD, SM >::array_layout, LayoutLeft >::value &&(ViewTraits< ST, SL, SD, SM >::rank==2)&&(ViewTraits< DT, DL, DD, DM >::rank==1)&&(ViewTraits< DT, DL, DD, DM >::rank_dynamic==1)), unsigned >::type i1)
 Extract Rank-1 array from LayoutLeft Rank-2 array.
 
template<class DT , class DL , class DD , class DM , class ST , class SL , class SD , class SM , typename iType >
KOKKOS_INLINE_FUNCTION ViewAssignment (View< DT, DL, DD, DM, specialize > &dst, const View< ST, SL, SD, SM, specialize > &src, const std::pair< iType, iType > &range, const typename enable_if< (ViewAssignable< ViewTraits< DT, DL, DD, DM >, ViewTraits< ST, SL, SD, SM > >::assignable_value &&is_same< typename ViewTraits< ST, SL, SD, SM >::array_layout, LayoutLeft >::value &&(ViewTraits< ST, SL, SD, SM >::rank==2)&&(ViewTraits< DT, DL, DD, DM >::rank==1)&&(ViewTraits< DT, DL, DD, DM >::rank_dynamic==1)), unsigned >::type i1)
 Extract Rank-1 array from LayoutLeft Rank-2 array.
 
template<class DT , class DL , class DD , class DM , class ST , class SL , class SD , class SM >
KOKKOS_INLINE_FUNCTION ViewAssignment (View< DT, DL, DD, DM, specialize > &dst, const View< ST, SL, SD, SM, specialize > &src, const ALL &, const typename enable_if< (ViewAssignable< ViewTraits< DT, DL, DD, DM >, ViewTraits< ST, SL, SD, SM > >::assignable_value &&is_same< typename ViewTraits< ST, SL, SD, SM >::array_layout, LayoutLeft >::value &&(ViewTraits< ST, SL, SD, SM >::rank==2)&&(ViewTraits< DT, DL, DD, DM >::rank==2)&&(ViewTraits< DT, DL, DD, DM >::rank_dynamic==2)), unsigned >::type i1)
 Extract Rank-1 array from LayoutLeft Rank-2 array.
 
template<class DT , class DL , class DD , class DM , class ST , class SL , class SD , class SM , typename iType >
KOKKOS_INLINE_FUNCTION ViewAssignment (View< DT, DL, DD, DM, specialize > &dst, const View< ST, SL, SD, SM, specialize > &src, const std::pair< iType, iType > &range, const typename enable_if< (ViewAssignable< ViewTraits< DT, DL, DD, DM >, ViewTraits< ST, SL, SD, SM > >::assignable_value &&is_same< typename ViewTraits< ST, SL, SD, SM >::array_layout, LayoutLeft >::value &&(ViewTraits< ST, SL, SD, SM >::rank==2)&&(ViewTraits< DT, DL, DD, DM >::rank==2)&&(ViewTraits< DT, DL, DD, DM >::rank_dynamic==2)), unsigned >::type i1)
 Extract Rank-2 array from LayoutLeft Rank-2 array.
 
template<class DT , class DL , class DD , class DM , class ST , class SL , class SD , class SM , typename iType >
KOKKOS_INLINE_FUNCTION ViewAssignment (View< DT, DL, DD, DM, specialize > &dst, const View< ST, SL, SD, SM, specialize > &src, ALL, const std::pair< iType, iType > &range1, typename enable_if< (ViewAssignable< ViewTraits< DT, DL, DD, DM >, ViewTraits< ST, SL, SD, SM > >::value &&is_same< typename ViewTraits< ST, SL, SD, SM >::array_layout, LayoutLeft >::value &&ViewTraits< DT, DL, DD, DM >::rank==2 &&ViewTraits< DT, DL, DD, DM >::rank_dynamic==2) >::type *=0)
 Extract rank-2 from rank-2 array.
 
template<class DT , class DL , class DD , class DM , class ST , class SL , class SD , class SM , typename iType >
KOKKOS_INLINE_FUNCTION ViewAssignment (View< DT, DL, DD, DM, specialize > &dst, const View< ST, SL, SD, SM, specialize > &src, const std::pair< iType, iType > &range0, ALL, typename enable_if< (ViewAssignable< ViewTraits< DT, DL, DD, DM >, ViewTraits< ST, SL, SD, SM > >::value &&is_same< typename ViewTraits< ST, SL, SD, SM >::array_layout, LayoutLeft >::value &&ViewTraits< DT, DL, DD, DM >::rank==2 &&ViewTraits< DT, DL, DD, DM >::rank_dynamic==2) >::type *=0)
 Extract rank-2 from rank-2 array.
 
template<class DT , class DL , class DD , class DM , class ST , class SL , class SD , class SM , typename iType0 , typename iType1 >
KOKKOS_INLINE_FUNCTION ViewAssignment (View< DT, DL, DD, DM, specialize > &dst, const View< ST, SL, SD, SM, specialize > &src, const std::pair< iType0, iType0 > &range0, const std::pair< iType1, iType1 > &range1, typename enable_if< (ViewAssignable< ViewTraits< DT, DL, DD, DM >, ViewTraits< ST, SL, SD, SM > >::value &&is_same< typename ViewTraits< ST, SL, SD, SM >::array_layout, LayoutLeft >::value &&ViewTraits< DT, DL, DD, DM >::rank==2 &&ViewTraits< DT, DL, DD, DM >::rank_dynamic==2) >::type *=0)
 Extract rank-2 from rank-2 array.
 

Constructor & Destructor Documentation

template<class DT , class DL , class DD , class DM , class ST , class SL , class SD , class SM >
KOKKOS_INLINE_FUNCTION Kokkos::Impl::ViewAssignment< ViewPCEContiguous, ViewPCEContiguous, void >::ViewAssignment ( View< DT, DL, DD, DM, specialize > &  dst,
const View< ST, SL, SD, SM, specialize > &  src,
typename enable_if<(is_same< typename View< DT, DL, DD, DM, specialize >::intrinsic_scalar_type, typename View< ST, SL, SD, SM, specialize >::intrinsic_scalar_type >::value &&is_same< typename View< DT, DL, DD, DM, specialize >::memory_space, typename View< ST, SL, SD, SM, specialize >::memory_space >::value &&is_same< typename View< DT, DL, DD, DM, specialize >::array_layout, typename View< ST, SL, SD, SM, specialize >::array_layout >::value &&(unsigned(View< DT, DL, DD, DM, specialize >::Rank)==unsigned(View< ST, SL, SD, SM, specialize >::Rank))&&!View< DT, DL, DD, DM, specialize >::is_managed &&(View< DT, DL, DD, DM, specialize >::is_static &&View< ST, SL, SD, SM, specialize >::is_static)), const Sacado::UQ::PCEPartition & >::type  part 
)
inline

Partition of compatible value and shape.

Currently only allowed for static storage types as partitioning is quite expensive for dynamic


The documentation for this struct was generated from the following file: