Public Types |
| enum | { Rank = traits::rank
} |
| enum | { Sacado_Rank = Impl::is_same< typename traits::array_layout, LayoutLeft >::value ? 0 : Rank+1
} |
typedef ViewTraits< DataType,
typename ViewTraits< DataType,
Arg1Type, Arg2Type, Arg3Type >
::array_layout, typename
ViewTraits< DataType, Arg1Type,
Arg2Type, Arg3Type >
::device_type, typename
ViewTraits< DataType, Arg1Type,
Arg2Type, Arg3Type >
::memory_traits > | traits |
|
typedef traits::value_type | sacado_pce_type |
typedef
sacado_pce_type::storage_type | stokhos_storage_type |
typedef
stokhos_storage_type::value_type | intrinsic_scalar_type |
|
typedef sacado_pce_type::cijk_type | cijk_type |
|
typedef traits::value_type | view_value_type |
typedef View< typename
traits::const_data_type,
typename traits::array_layout,
typename traits::device_type,
typename traits::memory_traits > | const_type |
typedef View< typename
traits::non_const_data_type,
typename traits::array_layout,
typename traits::device_type,
typename traits::memory_traits > | non_const_type |
typedef View< typename
Impl::RebindStokhosStorageDevice
< typename
traits::non_const_data_type,
typename
traits::device_type::host_mirror_device_type >
::type, typename
traits::array_layout, typename
traits::device_type::host_mirror_device_type,
void > | HostMirror |
typedef View< typename
analyze_sacado_shape::array_type,
typename traits::array_layout,
typename traits::device_type,
typename traits::memory_traits > | array_type |
typedef View< typename
analyze_sacado_shape::const_array_type,
typename traits::array_layout,
typename traits::device_type,
typename traits::memory_traits > | const_array_type |
typedef View< typename
analyze_sacado_shape::array_type,
typename traits::array_layout,
typename
traits::device_type::host_mirror_device_type,
typename traits::memory_traits > | host_array_type |
typedef View< typename
analyze_sacado_shape::const_array_type,
typename traits::array_layout,
typename
traits::device_type::host_mirror_device_type,
typename traits::memory_traits > | host_const_array_type |
typedef View< typename
analyze_sacado_shape::flat_array_type,
typename traits::array_layout,
typename traits::device_type,
typename traits::memory_traits > | flat_array_type |
typedef View< typename
analyze_sacado_shape::const_flat_array_type,
typename traits::array_layout,
typename traits::device_type,
typename traits::memory_traits > | const_flat_array_type |
typedef Impl::if_c
< traits::is_managed,
std::string,
Impl::ViewError::allocation_constructor_requires_managed > | if_allocation_constructor |
typedef Impl::if_c
< (traits::rank==0), typename
traits::value_type,
Impl::ViewError::scalar_operator_called_from_non_scalar_view > | if_scalar_operator |
Public Member Functions |
KOKKOS_FORCEINLINE_FUNCTION
traits::shape_type | shape () const |
KOKKOS_FORCEINLINE_FUNCTION
traits::size_type | dimension_0 () const |
KOKKOS_FORCEINLINE_FUNCTION
traits::size_type | dimension_1 () const |
KOKKOS_FORCEINLINE_FUNCTION
traits::size_type | dimension_2 () const |
KOKKOS_FORCEINLINE_FUNCTION
traits::size_type | dimension_3 () const |
KOKKOS_FORCEINLINE_FUNCTION
traits::size_type | dimension_4 () const |
KOKKOS_FORCEINLINE_FUNCTION
traits::size_type | dimension_5 () const |
KOKKOS_FORCEINLINE_FUNCTION
traits::size_type | dimension_6 () const |
KOKKOS_FORCEINLINE_FUNCTION
traits::size_type | dimension_7 () const |
KOKKOS_FORCEINLINE_FUNCTION
traits::size_type | size () const |
|
template<typename iType > |
KOKKOS_FORCEINLINE_FUNCTION
traits::size_type | dimension (const iType &i) const |
|
template<typename iType > |
| KOKKOS_FORCEINLINE_FUNCTION void | dimensions (iType *const dims) const |
|
KOKKOS_INLINE_FUNCTION | View (const View &rhs) |
|
KOKKOS_INLINE_FUNCTION View & | operator= (const View &rhs) |
|
template<class RT , class RL , class RD , class RM > |
| KOKKOS_INLINE_FUNCTION | View (const View< RT, RL, RD, RM, typename traits::specialize > &rhs) |
|
template<class RT , class RL , class RD , class RM > |
| KOKKOS_INLINE_FUNCTION View & | operator= (const View< RT, RL, RD, RM, typename traits::specialize > &rhs) |
|
| View (const typename if_allocation_constructor::type &label, const size_t n0=0, const size_t n1=0, const size_t n2=0, const size_t n3=0, const size_t n4=0, const size_t n5=0, const size_t n6=0, const size_t n7=0) |
|
| View (const typename if_allocation_constructor::type &label, const cijk_type &cijk, const size_t n0=0, const size_t n1=0, const size_t n2=0, const size_t n3=0, const size_t n4=0, const size_t n5=0, const size_t n6=0, const size_t n7=0) |
|
| View (const AllocateWithoutInitializing &, const typename if_allocation_constructor::type &label, const size_t n0=0, const size_t n1=0, const size_t n2=0, const size_t n3=0, const size_t n4=0, const size_t n5=0, const size_t n6=0, const size_t n7=0) |
|
| View (const AllocateWithoutInitializing &, const typename if_allocation_constructor::type &label, const cijk_type &cijk, const size_t n0=0, const size_t n1=0, const size_t n2=0, const size_t n3=0, const size_t n4=0, const size_t n5=0, const size_t n6=0, const size_t n7=0) |
|
template<typename iType > |
| | View (const typename if_allocation_constructor::type &label, const iType *const n) |
|
template<typename iType > |
| | View (const typename if_allocation_constructor::type &label, const cijk_type &cijk, const iType *const n) |
|
template<typename iType > |
| | View (const AllocateWithoutInitializing &, const typename if_allocation_constructor::type &label, const iType *const n) |
|
template<typename iType > |
| | View (const AllocateWithoutInitializing &, const typename if_allocation_constructor::type &label, const cijk_type &cijk, const iType *const n) |
|
template<typename T > |
| | View (T *ptr, const size_t n0=0, const size_t n1=0, const size_t n2=0, const size_t n3=0, const size_t n4=0, const size_t n5=0, const size_t n6=0, typename Impl::enable_if<((Impl::is_same< T, typename traits::value_type >::value||Impl::is_same< T, typename traits::non_const_value_type >::value)&&!traits::is_managed), const size_t >::type n7=0) |
|
template<typename T > |
| | View (T *ptr, const cijk_type &cijk, const size_t n0=0, const size_t n1=0, const size_t n2=0, const size_t n3=0, const size_t n4=0, const size_t n5=0, const size_t n6=0, typename Impl::enable_if<((Impl::is_same< T, typename traits::value_type >::value||Impl::is_same< T, typename traits::non_const_value_type >::value)&&!traits::is_managed), const size_t >::type n7=0) |
|
template<typename T > |
| | View (const ViewWithoutManaging &, T *ptr, const size_t n0=0, const size_t n1=0, const size_t n2=0, const size_t n3=0, const size_t n4=0, const size_t n5=0, const size_t n6=0, typename Impl::enable_if<(Impl::is_same< T, typename traits::value_type >::value||Impl::is_same< T, typename traits::non_const_value_type >::value), const size_t >::type n7=0) |
|
template<typename T > |
| | View (const ViewWithoutManaging &, T *ptr, const cijk_type &cijk, const size_t n0=0, const size_t n1=0, const size_t n2=0, const size_t n3=0, const size_t n4=0, const size_t n5=0, const size_t n6=0, typename Impl::enable_if<(Impl::is_same< T, typename traits::value_type >::value||Impl::is_same< T, typename traits::non_const_value_type >::value), const size_t >::type n7=0) |
|
KOKKOS_FORCEINLINE_FUNCTION bool | is_null () const |
KOKKOS_FORCEINLINE_FUNCTION
if_scalar_operator::type & | operator() () const |
|
template<typename iType0 > |
KOKKOS_FORCEINLINE_FUNCTION
Impl::ViewEnableArrayOper
< typename traits::value_type
&, traits, LayoutRight,
1, iType0 >::type | operator() (const iType0 &i0) const |
|
template<typename iType0 > |
KOKKOS_FORCEINLINE_FUNCTION
Impl::ViewEnableArrayOper
< typename traits::value_type
&, traits, LayoutRight,
1, iType0 >::type | operator[] (const iType0 &i0) const |
|
template<typename iType0 > |
KOKKOS_FORCEINLINE_FUNCTION
Impl::ViewEnableArrayOper
< typename traits::value_type
&, traits, LayoutRight,
1, iType0 >::type | at (const iType0 &i0, int, int, int, int, int, int, int) const |
|
template<typename iType0 , typename iType1 > |
KOKKOS_FORCEINLINE_FUNCTION
Impl::ViewEnableArrayOper
< typename traits::value_type
&, traits, LayoutRight,
2, iType0, iType1 >::type | operator() (const iType0 &i0, const iType1 &i1) const |
|
template<typename iType0 , typename iType1 > |
KOKKOS_FORCEINLINE_FUNCTION
Impl::ViewEnableArrayOper
< typename traits::value_type
&, traits, LayoutRight,
2, iType0, iType1 >::type | at (const iType0 &i0, const iType1 &i1, int, int, int, int, int, int) const |
|
template<typename iType0 , typename iType1 , typename iType2 > |
KOKKOS_FORCEINLINE_FUNCTION
Impl::ViewEnableArrayOper
< typename traits::value_type
&, traits, LayoutRight,
3, iType0, iType1, iType2 >
::type | operator() (const iType0 &i0, const iType1 &i1, const iType2 &i2) const |
|
template<typename iType0 , typename iType1 , typename iType2 > |
KOKKOS_FORCEINLINE_FUNCTION
Impl::ViewEnableArrayOper
< typename traits::value_type
&, traits, LayoutRight,
3, iType0, iType1, iType2 >
::type | at (const iType0 &i0, const iType1 &i1, const iType2 &i2, int, int, int, int, int) const |
|
template<typename iType0 , typename iType1 , typename iType2 , typename iType3 > |
KOKKOS_FORCEINLINE_FUNCTION
Impl::ViewEnableArrayOper
< typename traits::value_type
&, traits, LayoutRight,
4, iType0, iType1, iType2,
iType3 >::type | operator() (const iType0 &i0, const iType1 &i1, const iType2 &i2, const iType3 &i3) const |
|
template<typename iType0 , typename iType1 , typename iType2 , typename iType3 > |
KOKKOS_FORCEINLINE_FUNCTION
Impl::ViewEnableArrayOper
< typename traits::value_type
&, traits, LayoutRight,
4, iType0, iType1, iType2,
iType3 >::type | at (const iType0 &i0, const iType1 &i1, const iType2 &i2, const iType3 &i3, int, int, int, int) const |
|
template<typename iType0 , typename iType1 , typename iType2 , typename iType3 , typename iType4 > |
KOKKOS_FORCEINLINE_FUNCTION
Impl::ViewEnableArrayOper
< typename traits::value_type
&, traits, LayoutRight,
5, iType0, iType1, iType2,
iType3, iType4 >::type | operator() (const iType0 &i0, const iType1 &i1, const iType2 &i2, const iType3 &i3, const iType4 &i4) const |
|
template<typename iType0 , typename iType1 , typename iType2 , typename iType3 , typename iType4 > |
KOKKOS_FORCEINLINE_FUNCTION
Impl::ViewEnableArrayOper
< typename traits::value_type
&, traits, LayoutRight,
5, iType0, iType1, iType2,
iType3, iType4 >::type | at (const iType0 &i0, const iType1 &i1, const iType2 &i2, const iType3 &i3, const iType4 &i4, int, int, int) const |
|
template<typename iType0 , typename iType1 , typename iType2 , typename iType3 , typename iType4 , typename iType5 > |
KOKKOS_FORCEINLINE_FUNCTION
Impl::ViewEnableArrayOper
< typename traits::value_type
&, traits, LayoutRight,
6, iType0, iType1, iType2,
iType3, iType4, iType5 >::type | operator() (const iType0 &i0, const iType1 &i1, const iType2 &i2, const iType3 &i3, const iType4 &i4, const iType5 &i5) const |
|
template<typename iType0 , typename iType1 , typename iType2 , typename iType3 , typename iType4 , typename iType5 > |
KOKKOS_FORCEINLINE_FUNCTION
Impl::ViewEnableArrayOper
< typename traits::value_type
&, traits, LayoutRight,
6, iType0, iType1, iType2,
iType3, iType4, iType5 >::type | at (const iType0 &i0, const iType1 &i1, const iType2 &i2, const iType3 &i3, const iType4 &i4, const iType5 &i5, const int, int) const |
|
template<typename iType0 , typename iType1 , typename iType2 , typename iType3 , typename iType4 , typename iType5 , typename iType6 > |
KOKKOS_FORCEINLINE_FUNCTION
Impl::ViewEnableArrayOper
< typename traits::value_type
&, traits, LayoutRight,
7, iType0, iType1, iType2,
iType3, iType4, iType5, iType6 >
::type | operator() (const iType0 &i0, const iType1 &i1, const iType2 &i2, const iType3 &i3, const iType4 &i4, const iType5 &i5, const iType6 &i6) const |
|
template<typename iType0 , typename iType1 , typename iType2 , typename iType3 , typename iType4 , typename iType5 , typename iType6 > |
KOKKOS_FORCEINLINE_FUNCTION
Impl::ViewEnableArrayOper
< typename traits::value_type
&, traits, LayoutRight,
7, iType0, iType1, iType2,
iType3, iType4, iType5, iType6 >
::type | at (const iType0 &i0, const iType1 &i1, const iType2 &i2, const iType3 &i3, const iType4 &i4, const iType5 &i5, const iType6 &i6, int) const |
|
template<typename iType0 > |
KOKKOS_FORCEINLINE_FUNCTION
Impl::ViewEnableArrayOper
< typename traits::value_type
&, traits, LayoutLeft,
1, iType0 >::type | operator() (const iType0 &i0) const |
|
template<typename iType0 > |
KOKKOS_FORCEINLINE_FUNCTION
Impl::ViewEnableArrayOper
< typename traits::value_type
&, traits, LayoutLeft,
1, iType0 >::type | operator[] (const iType0 &i0) const |
|
template<typename iType0 > |
KOKKOS_FORCEINLINE_FUNCTION
Impl::ViewEnableArrayOper
< typename traits::value_type
&, traits, LayoutLeft,
1, iType0 >::type | at (const iType0 &i0, int, int, int, int, int, int, int) const |
|
template<typename iType0 , typename iType1 > |
KOKKOS_FORCEINLINE_FUNCTION
Impl::ViewEnableArrayOper
< typename traits::value_type
&, traits, LayoutLeft,
2, iType0, iType1 >::type | operator() (const iType0 &i0, const iType1 &i1) const |
|
template<typename iType0 , typename iType1 > |
KOKKOS_FORCEINLINE_FUNCTION
Impl::ViewEnableArrayOper
< typename traits::value_type
&, traits, LayoutLeft,
2, iType0, iType1 >::type | at (const iType0 &i0, const iType1 &i1, int, int, int, int, int, int) const |
|
template<typename iType0 , typename iType1 , typename iType2 > |
KOKKOS_FORCEINLINE_FUNCTION
Impl::ViewEnableArrayOper
< typename traits::value_type
&, traits, LayoutLeft,
3, iType0, iType1, iType2 >
::type | operator() (const iType0 &i0, const iType1 &i1, const iType2 &i2) const |
|
template<typename iType0 , typename iType1 , typename iType2 > |
KOKKOS_FORCEINLINE_FUNCTION
Impl::ViewEnableArrayOper
< typename traits::value_type
&, traits, LayoutLeft,
3, iType0, iType1, iType2 >
::type | at (const iType0 &i0, const iType1 &i1, const iType2 &i2, int, int, int, int, int) const |
|
template<typename iType0 , typename iType1 , typename iType2 , typename iType3 > |
KOKKOS_FORCEINLINE_FUNCTION
Impl::ViewEnableArrayOper
< typename traits::value_type
&, traits, LayoutLeft,
4, iType0, iType1, iType2,
iType3 >::type | operator() (const iType0 &i0, const iType1 &i1, const iType2 &i2, const iType3 &i3) const |
|
template<typename iType0 , typename iType1 , typename iType2 , typename iType3 > |
KOKKOS_FORCEINLINE_FUNCTION
Impl::ViewEnableArrayOper
< typename traits::value_type
&, traits, LayoutLeft,
4, iType0, iType1, iType2,
iType3 >::type | at (const iType0 &i0, const iType1 &i1, const iType2 &i2, const iType3 &i3, int, int, int, int) const |
|
template<typename iType0 , typename iType1 , typename iType2 , typename iType3 , typename iType4 > |
KOKKOS_FORCEINLINE_FUNCTION
Impl::ViewEnableArrayOper
< typename traits::value_type
&, traits, LayoutLeft,
5, iType0, iType1, iType2,
iType3, iType4 >::type | operator() (const iType0 &i0, const iType1 &i1, const iType2 &i2, const iType3 &i3, const iType4 &i4) const |
|
template<typename iType0 , typename iType1 , typename iType2 , typename iType3 , typename iType4 > |
KOKKOS_FORCEINLINE_FUNCTION
Impl::ViewEnableArrayOper
< typename traits::value_type
&, traits, LayoutLeft,
5, iType0, iType1, iType2,
iType3, iType4 >::type | at (const iType0 &i0, const iType1 &i1, const iType2 &i2, const iType3 &i3, const iType4 &i4, int, int, int) const |
|
template<typename iType0 , typename iType1 , typename iType2 , typename iType3 , typename iType4 , typename iType5 > |
KOKKOS_FORCEINLINE_FUNCTION
Impl::ViewEnableArrayOper
< typename traits::value_type
&, traits, LayoutLeft,
6, iType0, iType1, iType2,
iType3, iType4, iType5 >::type | operator() (const iType0 &i0, const iType1 &i1, const iType2 &i2, const iType3 &i3, const iType4 &i4, const iType5 &i5) const |
|
template<typename iType0 , typename iType1 , typename iType2 , typename iType3 , typename iType4 , typename iType5 > |
KOKKOS_FORCEINLINE_FUNCTION
Impl::ViewEnableArrayOper
< typename traits::value_type
&, traits, LayoutLeft,
6, iType0, iType1, iType2,
iType3, iType4, iType5 >::type | at (const iType0 &i0, const iType1 &i1, const iType2 &i2, const iType3 &i3, const iType4 &i4, const iType5 &i5, const int, int) const |
|
template<typename iType0 , typename iType1 , typename iType2 , typename iType3 , typename iType4 , typename iType5 , typename iType6 > |
KOKKOS_FORCEINLINE_FUNCTION
Impl::ViewEnableArrayOper
< typename traits::value_type
&, traits, LayoutLeft,
7, iType0, iType1, iType2,
iType3, iType4, iType5, iType6 >
::type | operator() (const iType0 &i0, const iType1 &i1, const iType2 &i2, const iType3 &i3, const iType4 &i4, const iType5 &i5, const iType6 &i6) const |
|
template<typename iType0 , typename iType1 , typename iType2 , typename iType3 , typename iType4 , typename iType5 , typename iType6 > |
KOKKOS_FORCEINLINE_FUNCTION
Impl::ViewEnableArrayOper
< typename traits::value_type
&, traits, LayoutLeft,
7, iType0, iType1, iType2,
iType3, iType4, iType5, iType6 >
::type | at (const iType0 &i0, const iType1 &i1, const iType2 &i2, const iType3 &i3, const iType4 &i4, const iType5 &i5, const iType6 &i6, int) const |
KOKKOS_FORCEINLINE_FUNCTION
traits::value_type * | ptr_on_device () const |
|
template<typename iType > |
| KOKKOS_FORCEINLINE_FUNCTION void | stride (iType *const s) const |
KOKKOS_FORCEINLINE_FUNCTION
traits::size_type | capacity () const |
KOKKOS_FORCEINLINE_FUNCTION
traits::size_type | sacado_size () const |
KOKKOS_FORCEINLINE_FUNCTION
cijk_type | cijk () const |
|
KOKKOS_INLINE_FUNCTION bool | is_allocation_contiguous () const |
Static Public Attributes |
|
static const bool | is_static = stokhos_storage_type::is_static |
|
static const bool | is_contiguous = true |
Friends |
|
class | View |
|
struct | Impl::ViewAssignment |