|
Stokhos Package Browser (Single Doxygen Collection) Version of the Day
|
#include <KokkosExp_View_MP_Vector_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 } |
| using | is_regular = std::false_type |
| typedef sacado_mp_vector_type & | reference_type |
| typedef sacado_mp_vector_type * | pointer_type |
| Pointer to underlying memory type. | |
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_INLINE_FUNCTION constexpr size_t | span () const |
| Span of the mapped range : [ data() .. data() + span() ) | |
| KOKKOS_INLINE_FUNCTION constexpr bool | span_is_contiguous () const |
| Is the mapped range span contiguous. | |
| KOKKOS_INLINE_FUNCTION constexpr pointer_type | data () const |
| Raw data access. | |
| KOKKOS_FORCEINLINE_FUNCTION reference_type | reference () const |
| template<typename I0> | |
| KOKKOS_FORCEINLINE_FUNCTION std::enable_if< std::is_integral< I0 >::value &&!std::is_same< typenameTraits::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< typenameTraits::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_DEFAULTED_FUNCTION | ~ViewMapping ()=default |
| KOKKOS_INLINE_FUNCTION | ViewMapping () |
| KOKKOS_DEFAULTED_FUNCTION | ViewMapping (const ViewMapping &)=default |
| KOKKOS_DEFAULTED_FUNCTION ViewMapping & | operator= (const ViewMapping &)=default |
| KOKKOS_DEFAULTED_FUNCTION | ViewMapping (ViewMapping &&)=default |
| KOKKOS_DEFAULTED_FUNCTION ViewMapping & | operator= (ViewMapping &&)=default |
| template<class ... P> | |
| KOKKOS_INLINE_FUNCTION | ViewMapping (ViewCtorProp< P ... > const &prop, typename Traits::array_layout const &layout) |
| KOKKOS_INLINE_FUNCTION void | assign_data (pointer_type arg_ptr) |
| Assign data. | |
| template<class ... P> | |
| SharedAllocationRecord * | allocate_shared (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, bool) |
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. | |
Static Public Attributes | |
| static const bool | is_static = stokhos_storage_type::is_static |
| static const bool | is_contiguous = true |
Private Types | |
| enum | { StokhosStorageStaticDimension = stokhos_storage_type::static_size } |
| typedef Traits::value_type | sacado_mp_vector_type |
| typedef sacado_mp_vector_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::integral_nonzero< unsigned, StokhosStorageStaticDimension > | sacado_size_type |
| typedef Kokkos::Experimental::Impl::MPVectorAllocation< sacado_mp_vector_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< StokhosStorageStaticDimension >::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< typenameTraits::array_layout, Kokkos::LayoutLeft >::value, prepend_offset_type, append_offset_type >::type | array_offset_type |
Private Attributes | |
| handle_type | m_impl_handle |
| offset_type | m_impl_offset |
| unsigned | m_stride |
| sacado_size_type | m_sacado_size |
Friends | |
| template<class, class ...> | |
| class | ViewMapping |
| template<class, class ...> | |
| class | Kokkos::View |
Definition at line 817 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
private |
Definition at line 840 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
private |
Definition at line 841 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
private |
Definition at line 842 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
private |
Definition at line 844 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
private |
Definition at line 847 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
private |
Definition at line 849 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
private |
Definition at line 854 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
private |
Definition at line 858 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
private |
Definition at line 859 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
private |
Definition at line 864 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
private |
Definition at line 869 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
private |
Definition at line 873 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
| using Kokkos::Impl::ViewMapping< Traits, typename std::enable_if<(std::is_same< typename Traits::specialize, Kokkos::Experimental::Impl::ViewMPVectorContiguous >::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)), typename Traits::specialize >::type >::is_regular = std::false_type |
Definition at line 939 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
| typedef sacado_mp_vector_type& Kokkos::Impl::ViewMapping< Traits, typename std::enable_if<(std::is_same< typename Traits::specialize, Kokkos::Experimental::Impl::ViewMPVectorContiguous >::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)), typename Traits::specialize >::type >::reference_type |
Definition at line 977 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
| typedef sacado_mp_vector_type* Kokkos::Impl::ViewMapping< Traits, typename std::enable_if<(std::is_same< typename Traits::specialize, Kokkos::Experimental::Impl::ViewMPVectorContiguous >::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)), typename Traits::specialize >::type >::pointer_type |
Pointer to underlying memory type.
Definition at line 980 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
private |
| Enumerator | |
|---|---|
| StokhosStorageStaticDimension | |
Definition at line 846 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
| anonymous enum |
| Enumerator | |
|---|---|
| Rank | |
Definition at line 905 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
| anonymous enum |
| Enumerator | |
|---|---|
| Sacado_Rank | |
Definition at line 908 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
default |
|
inline |
Definition at line 1087 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
default |
|
default |
|
inline |
Definition at line 1102 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
inlineconstexpr |
Definition at line 912 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
inlineconstexpr |
Definition at line 916 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
inlineconstexpr |
Definition at line 919 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
inlineconstexpr |
Definition at line 921 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
inlineconstexpr |
Definition at line 923 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
inlineconstexpr |
Definition at line 925 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
inlineconstexpr |
Definition at line 927 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
inlineconstexpr |
Definition at line 929 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
inlineconstexpr |
Definition at line 931 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
inlineconstexpr |
Definition at line 933 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
inlineconstexpr |
Definition at line 942 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
inlineconstexpr |
Definition at line 944 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
inlineconstexpr |
Definition at line 946 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
inlineconstexpr |
Definition at line 948 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
inlineconstexpr |
Definition at line 950 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
inlineconstexpr |
Definition at line 952 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
inlineconstexpr |
Definition at line 954 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
inlineconstexpr |
Definition at line 956 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
inline |
Definition at line 960 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
inlineconstexpr |
Definition at line 964 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
inlineconstexpr |
Span of the mapped range : [ data() .. data() + span() )
Definition at line 983 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
inlineconstexpr |
Is the mapped range span contiguous.
Definition at line 987 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
inlineconstexpr |
Raw data access.
Definition at line 991 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
inline |
Definition at line 997 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
inline |
Definition at line 1007 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
inline |
Definition at line 1017 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
inline |
Definition at line 1022 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
inline |
Definition at line 1027 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
inline |
Definition at line 1032 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
inline |
Definition at line 1038 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
inline |
Definition at line 1045 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
inline |
Definition at line 1052 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
inline |
Definition at line 1059 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
inlinestatic |
Span, in bytes, of the required memory.
Definition at line 1067 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
default |
|
default |
|
inline |
Assign data.
Definition at line 1118 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
inline |
Definition at line 1128 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
inline |
Definition at line 1178 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
friend |
Definition at line 837 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
friend |
Definition at line 838 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
private |
Definition at line 875 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
private |
Definition at line 876 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
private |
Definition at line 877 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
private |
Definition at line 878 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
static |
Definition at line 968 of file KokkosExp_View_MP_Vector_Contiguous.hpp.
|
static |
Definition at line 971 of file KokkosExp_View_MP_Vector_Contiguous.hpp.