Stokhos Package Browser (Single Doxygen Collection)
Version of the Day
|
#include <KokkosExp_View_UQ_PCE_Contiguous.hpp>
Public Types | |
enum | { Rank = Traits::dimension::rank } |
enum | { Sacado_Rank = std::is_same< typename Traits::array_layout, Kokkos::LayoutLeft >::value ? 0 : Rank+1 } |
typedef Traits::value_type | sacado_uq_pce_type |
typedef sacado_uq_pce_type::storage_type | stokhos_storage_type |
typedef stokhos_storage_type::value_type | intrinsic_scalar_type |
typedef std::add_const< intrinsic_scalar_type >::type | const_intrinsic_scalar_type |
typedef sacado_uq_pce_type::cijk_type | cijk_type |
using | is_regular = std::false_type |
typedef sacado_uq_pce_type & | reference_type |
typedef sacado_uq_pce_type * | pointer_type |
Pointer to underlying memory type. More... | |
Public Member Functions | |
template<typename iType > | |
KOKKOS_INLINE_FUNCTION constexpr size_t | extent (const iType &r) const |
KOKKOS_INLINE_FUNCTION constexpr Traits::array_layout | layout () const |
KOKKOS_INLINE_FUNCTION constexpr size_t | dimension_0 () const |
KOKKOS_INLINE_FUNCTION constexpr size_t | dimension_1 () const |
KOKKOS_INLINE_FUNCTION constexpr size_t | dimension_2 () const |
KOKKOS_INLINE_FUNCTION constexpr size_t | dimension_3 () const |
KOKKOS_INLINE_FUNCTION constexpr size_t | dimension_4 () const |
KOKKOS_INLINE_FUNCTION constexpr size_t | dimension_5 () const |
KOKKOS_INLINE_FUNCTION constexpr size_t | dimension_6 () const |
KOKKOS_INLINE_FUNCTION constexpr size_t | dimension_7 () const |
KOKKOS_INLINE_FUNCTION constexpr size_t | stride_0 () const |
KOKKOS_INLINE_FUNCTION constexpr size_t | stride_1 () const |
KOKKOS_INLINE_FUNCTION constexpr size_t | stride_2 () const |
KOKKOS_INLINE_FUNCTION constexpr size_t | stride_3 () const |
KOKKOS_INLINE_FUNCTION constexpr size_t | stride_4 () const |
KOKKOS_INLINE_FUNCTION constexpr size_t | stride_5 () const |
KOKKOS_INLINE_FUNCTION constexpr size_t | stride_6 () const |
KOKKOS_INLINE_FUNCTION constexpr size_t | stride_7 () const |
template<typename iType > | |
KOKKOS_INLINE_FUNCTION void | stride (iType *const s) const |
KOKKOS_FORCEINLINE_FUNCTION constexpr unsigned | dimension_scalar () const |
KOKKOS_FORCEINLINE_FUNCTION cijk_type | cijk () const |
KOKKOS_FORCEINLINE_FUNCTION void | set_cijk (const cijk_type &cijk) |
KOKKOS_INLINE_FUNCTION bool | is_allocation_contiguous () const |
KOKKOS_INLINE_FUNCTION constexpr size_t | span () const |
Span of the mapped range : [ data() .. data() + span() ) More... | |
KOKKOS_INLINE_FUNCTION constexpr bool | span_is_contiguous () const |
Is the mapped range span contiguous. More... | |
KOKKOS_INLINE_FUNCTION constexpr pointer_type | data () const |
Raw data access. More... | |
KOKKOS_FORCEINLINE_FUNCTION reference_type | reference () const |
template<typename I0 > | |
KOKKOS_FORCEINLINE_FUNCTION std::enable_if< std::is_integral< I0 >::value &&! std::is_same< typename Traits::array_layout, Kokkos::LayoutStride >::value, reference_type >::type | reference (const I0 &i0) const |
template<typename I0 > | |
KOKKOS_FORCEINLINE_FUNCTION std::enable_if< std::is_integral< I0 >::value &&std::is_same< typename Traits::array_layout, Kokkos::LayoutStride >::value, reference_type >::type | reference (const I0 &i0) const |
template<typename I0 , typename I1 > | |
KOKKOS_FORCEINLINE_FUNCTION reference_type | reference (const I0 &i0, const I1 &i1) const |
template<typename I0 , typename I1 , typename I2 > | |
KOKKOS_FORCEINLINE_FUNCTION reference_type | reference (const I0 &i0, const I1 &i1, const I2 &i2) const |
template<typename I0 , typename I1 , typename I2 , typename I3 > | |
KOKKOS_FORCEINLINE_FUNCTION reference_type | reference (const I0 &i0, const I1 &i1, const I2 &i2, const I3 &i3) const |
template<typename I0 , typename I1 , typename I2 , typename I3 , typename I4 > | |
KOKKOS_FORCEINLINE_FUNCTION reference_type | reference (const I0 &i0, const I1 &i1, const I2 &i2, const I3 &i3, const I4 &i4) const |
template<typename I0 , typename I1 , typename I2 , typename I3 , typename I4 , typename I5 > | |
KOKKOS_FORCEINLINE_FUNCTION reference_type | reference (const I0 &i0, const I1 &i1, const I2 &i2, const I3 &i3, const I4 &i4, const I5 &i5) const |
template<typename I0 , typename I1 , typename I2 , typename I3 , typename I4 , typename I5 , typename I6 > | |
KOKKOS_FORCEINLINE_FUNCTION reference_type | reference (const I0 &i0, const I1 &i1, const I2 &i2, const I3 &i3, const I4 &i4, const I5 &i5, const I6 &i6) const |
template<typename I0 , typename I1 , typename I2 , typename I3 , typename I4 , typename I5 , typename I6 , typename I7 > | |
KOKKOS_FORCEINLINE_FUNCTION reference_type | reference (const I0 &i0, const I1 &i1, const I2 &i2, const I3 &i3, const I4 &i4, const I5 &i5, const I6 &i6, const I7 &i7) const |
KOKKOS_INLINE_FUNCTION | ~ViewMapping ()=default |
KOKKOS_INLINE_FUNCTION | ViewMapping () |
KOKKOS_INLINE_FUNCTION | ViewMapping (const ViewMapping &)=default |
KOKKOS_INLINE_FUNCTION ViewMapping & | operator= (const ViewMapping &)=default |
KOKKOS_INLINE_FUNCTION | ViewMapping (ViewMapping &&)=default |
KOKKOS_INLINE_FUNCTION ViewMapping & | operator= (ViewMapping &&)=default |
template<class ... P> | |
KOKKOS_INLINE_FUNCTION | ViewMapping (ViewCtorProp< P ... > const &prop, typename Traits::array_layout const &layout) |
template<class ... P> | |
SharedAllocationRecord * | allocate_shared (ViewCtorProp< P... > const &prop, typename Traits::array_layout const &layout) |
Static Public Member Functions | |
static KOKKOS_INLINE_FUNCTION size_t | memory_span (typename Traits::array_layout const &layout) |
Span, in bytes, of the required memory. More... | |
Static Public Attributes | |
static const bool | is_static = false |
static const bool | is_contiguous = true |
Private Types | |
typedef Kokkos::Experimental::Impl::PCEAllocation< sacado_uq_pce_type > | handle_type |
typedef ViewOffset< typename Traits::dimension, typename Traits::array_layout, void > | offset_type |
typedef ViewArrayAnalysis< typename Traits::data_type > | array_analysis |
typedef array_analysis::dimension | array_dimension |
typedef ViewOffset< typename array_dimension::template append< 0 >::type, typename Traits::array_layout, void > | append_offset_type |
typedef ViewOffset< typename array_dimension::template prepend< 0 >::type, typename Traits::array_layout, void > | prepend_offset_type |
typedef std::conditional< std::is_same< typename Traits::array_layout, Kokkos::LayoutLeft >::value, prepend_offset_type, append_offset_type >::type | array_offset_type |
Private Member Functions | |
KOKKOS_INLINE_FUNCTION bool | is_data_contiguous () const |
Private Attributes | |
handle_type | m_handle |
offset_type | m_offset |
unsigned | m_sacado_size |
cijk_type | m_cijk |
bool | m_is_contiguous |
Friends | |
template<class , class ... > | |
class | ViewMapping |
template<class , class ... > | |
class | Kokkos::View |
Definition at line 975 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
typedef Traits::value_type Kokkos::Impl::ViewMapping< Traits, typename std::enable_if<(std::is_same< typename Traits::specialize, Kokkos::Experimental::Impl::ViewPCEContiguous >::value &&(std::is_same< typename Traits::array_layout, Kokkos::LayoutLeft >::value||std::is_same< typename Traits::array_layout, Kokkos::LayoutRight >::value||std::is_same< typename Traits::array_layout, Kokkos::LayoutStride >::value))>::type >::sacado_uq_pce_type |
Definition at line 997 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
typedef sacado_uq_pce_type::storage_type Kokkos::Impl::ViewMapping< Traits, typename std::enable_if<(std::is_same< typename Traits::specialize, Kokkos::Experimental::Impl::ViewPCEContiguous >::value &&(std::is_same< typename Traits::array_layout, Kokkos::LayoutLeft >::value||std::is_same< typename Traits::array_layout, Kokkos::LayoutRight >::value||std::is_same< typename Traits::array_layout, Kokkos::LayoutStride >::value))>::type >::stokhos_storage_type |
Definition at line 998 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
typedef stokhos_storage_type::value_type Kokkos::Impl::ViewMapping< Traits, typename std::enable_if<(std::is_same< typename Traits::specialize, Kokkos::Experimental::Impl::ViewPCEContiguous >::value &&(std::is_same< typename Traits::array_layout, Kokkos::LayoutLeft >::value||std::is_same< typename Traits::array_layout, Kokkos::LayoutRight >::value||std::is_same< typename Traits::array_layout, Kokkos::LayoutStride >::value))>::type >::intrinsic_scalar_type |
Definition at line 999 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
typedef std::add_const< intrinsic_scalar_type >::type Kokkos::Impl::ViewMapping< Traits, typename std::enable_if<(std::is_same< typename Traits::specialize, Kokkos::Experimental::Impl::ViewPCEContiguous >::value &&(std::is_same< typename Traits::array_layout, Kokkos::LayoutLeft >::value||std::is_same< typename Traits::array_layout, Kokkos::LayoutRight >::value||std::is_same< typename Traits::array_layout, Kokkos::LayoutStride >::value))>::type >::const_intrinsic_scalar_type |
Definition at line 1001 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
typedef sacado_uq_pce_type::cijk_type Kokkos::Impl::ViewMapping< Traits, typename std::enable_if<(std::is_same< typename Traits::specialize, Kokkos::Experimental::Impl::ViewPCEContiguous >::value &&(std::is_same< typename Traits::array_layout, Kokkos::LayoutLeft >::value||std::is_same< typename Traits::array_layout, Kokkos::LayoutRight >::value||std::is_same< typename Traits::array_layout, Kokkos::LayoutStride >::value))>::type >::cijk_type |
Definition at line 1002 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
private |
Definition at line 1005 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
private |
Definition at line 1010 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
private |
Definition at line 1013 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
private |
Definition at line 1014 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
private |
Definition at line 1019 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
private |
Definition at line 1024 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
private |
Definition at line 1028 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
using Kokkos::Impl::ViewMapping< Traits, typename std::enable_if<(std::is_same< typename Traits::specialize, Kokkos::Experimental::Impl::ViewPCEContiguous >::value &&(std::is_same< typename Traits::array_layout, Kokkos::LayoutLeft >::value||std::is_same< typename Traits::array_layout, Kokkos::LayoutRight >::value||std::is_same< typename Traits::array_layout, Kokkos::LayoutStride >::value))>::type >::is_regular = std::false_type |
Definition at line 1090 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
typedef sacado_uq_pce_type& Kokkos::Impl::ViewMapping< Traits, typename std::enable_if<(std::is_same< typename Traits::specialize, Kokkos::Experimental::Impl::ViewPCEContiguous >::value &&(std::is_same< typename Traits::array_layout, Kokkos::LayoutLeft >::value||std::is_same< typename Traits::array_layout, Kokkos::LayoutRight >::value||std::is_same< typename Traits::array_layout, Kokkos::LayoutStride >::value))>::type >::reference_type |
Definition at line 1142 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
typedef sacado_uq_pce_type* Kokkos::Impl::ViewMapping< Traits, typename std::enable_if<(std::is_same< typename Traits::specialize, Kokkos::Experimental::Impl::ViewPCEContiguous >::value &&(std::is_same< typename Traits::array_layout, Kokkos::LayoutLeft >::value||std::is_same< typename Traits::array_layout, Kokkos::LayoutRight >::value||std::is_same< typename Traits::array_layout, Kokkos::LayoutStride >::value))>::type >::pointer_type |
Pointer to underlying memory type.
Definition at line 1145 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
anonymous enum |
Enumerator | |
---|---|
Rank |
Definition at line 1056 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
anonymous enum |
Enumerator | |
---|---|
Sacado_Rank |
Definition at line 1059 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
default |
|
inline |
Definition at line 1245 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
default |
|
default |
|
inline |
Definition at line 1262 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inlineprivate |
Definition at line 1040 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inline |
Definition at line 1063 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inline |
Definition at line 1067 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inline |
Definition at line 1070 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inline |
Definition at line 1072 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inline |
Definition at line 1074 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inline |
Definition at line 1076 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inline |
Definition at line 1078 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inline |
Definition at line 1080 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inline |
Definition at line 1082 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inline |
Definition at line 1084 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inline |
Definition at line 1092 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inline |
Definition at line 1094 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inline |
Definition at line 1096 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inline |
Definition at line 1098 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inline |
Definition at line 1100 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inline |
Definition at line 1102 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inline |
Definition at line 1104 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inline |
Definition at line 1106 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inline |
Definition at line 1110 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inline |
Definition at line 1114 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inline |
Definition at line 1119 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inline |
Definition at line 1124 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inline |
Definition at line 1129 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inline |
Span of the mapped range : [ data() .. data() + span() )
Definition at line 1148 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inline |
Is the mapped range span contiguous.
Definition at line 1152 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inline |
Raw data access.
Definition at line 1156 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inline |
Definition at line 1162 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inline |
Definition at line 1172 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inline |
Definition at line 1182 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inline |
Definition at line 1187 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inline |
Definition at line 1192 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inline |
Definition at line 1197 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inline |
Definition at line 1203 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inline |
Definition at line 1210 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inline |
Definition at line 1217 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inline |
Definition at line 1224 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
inlinestatic |
Span, in bytes, of the required memory.
Definition at line 1232 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
default |
|
default |
|
inline |
Definition at line 1290 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
friend |
Definition at line 993 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
friend |
Definition at line 994 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
private |
Definition at line 1030 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
private |
Definition at line 1031 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
private |
Definition at line 1032 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
private |
Definition at line 1033 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
private |
Definition at line 1034 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
static |
Definition at line 1133 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.
|
static |
Definition at line 1136 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.