Stokhos Development
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Friends | List of all members
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 > Class Template Reference

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 (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
 

Friends

template<class , class ... >
class Kokkos::View
 

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