Stokhos  Development
Public Types | Public Member Functions | Static Public Attributes | Friends | List of all members
Kokkos::View< DataType, Arg1Type, Arg2Type, Arg3Type, Impl::ViewMPVectorInterlaced > Class Template Reference

View::value_type == Sacado::MP::Vector< Stokhos::StorageType<...> > More...

#include <Kokkos_View_MP_Vector_Interlaced.hpp>

Inheritance diagram for Kokkos::View< DataType, Arg1Type, Arg2Type, Arg3Type, Impl::ViewMPVectorInterlaced >:
Inheritance graph
[legend]
Collaboration diagram for Kokkos::View< DataType, Arg1Type, Arg2Type, Arg3Type, Impl::ViewMPVectorInterlaced >:
Collaboration graph
[legend]

Public Types

enum  { Rank = traits::rank }
 
enum  { Sacado_Rank = 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 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::data_type, typename traits::host_mirror_space::memory_space >::type, typename traits::array_layout, typename traits::host_mirror_space, void > HostMirror
 
typedef View< typename traits::array_type, typename traits::array_layout, typename traits::device_type, typename traits::memory_traits > array_type
 
typedef View< typename traits::const_array_type, typename traits::array_layout, typename traits::device_type, typename traits::memory_traits > const_array_type
 
typedef View< typename traits::array_type, typename traits::array_layout, typename traits::host_mirror_space, typename traits::memory_traits > host_array_type
 
typedef View< typename traits::const_array_type, typename traits::array_layout, typename traits::host_mirror_space, typename traits::memory_traits > host_const_array_type
 
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 Sacado::MP::Vector< stokhos_view_storage_typereference_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==1), reference_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
 
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)
 
template<class AllocationProperties >
 View (const AllocationProperties &prop, const typename Impl::ViewAllocProp< traits, AllocationProperties >::size_type 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 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::const_value_type >::value)&&!traits::is_managed), 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< reference_type, traits, LayoutLeft, 2, iType0 >::type operator() (const iType0 &i0) const
 
template<typename iType0 >
KOKKOS_FORCEINLINE_FUNCTION Impl::ViewEnableArrayOper< reference_type, traits, LayoutRight, 2, iType0 >::type operator() (const iType0 &i0) const
 
template<typename iType0 >
KOKKOS_FORCEINLINE_FUNCTION Impl::ViewEnableArrayOper< reference_type, traits, typename traits::array_layout, 2, iType0 >::type operator[] (const iType0 &i0) const
 
template<typename iType0 >
KOKKOS_FORCEINLINE_FUNCTION Impl::ViewEnableArrayOper< reference_type, traits, typename traits::array_layout, 2, iType0 >::type at (const iType0 &i0, int, int, int, int, int, int, int) const
 
template<typename iType0 , typename iType1 >
KOKKOS_FORCEINLINE_FUNCTION Impl::ViewEnableArrayOper< reference_type, traits, LayoutLeft, 3, iType0, iType1 >::type operator() (const iType0 &i0, const iType1 &i1) const
 
template<typename iType0 , typename iType1 >
KOKKOS_FORCEINLINE_FUNCTION Impl::ViewEnableArrayOper< reference_type, traits, LayoutRight, 3, iType0, iType1 >::type operator() (const iType0 &i0, const iType1 &i1) const
 
template<typename iType0 , typename iType1 >
KOKKOS_FORCEINLINE_FUNCTION Impl::ViewEnableArrayOper< reference_type, traits, typename traits::array_layout, 3, 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< reference_type, traits, LayoutLeft, 4, 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< reference_type, traits, LayoutRight, 4, 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< reference_type, traits, typename traits::array_layout, 4, 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< reference_type, traits, LayoutLeft, 5, 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< reference_type, traits, LayoutRight, 5, 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< reference_type, traits, typename traits::array_layout, 5, 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< reference_type, traits, LayoutLeft, 6, 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< reference_type, traits, LayoutRight, 6, 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< reference_type, traits, typename traits::array_layout, 6, 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< reference_type, traits, LayoutLeft, 7, 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< reference_type, traits, LayoutRight, 7, 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< reference_type, traits, typename traits::array_layout, 7, 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, int, int) const
 
template<typename iType0 , typename iType1 , typename iType2 , typename iType3 , typename iType4 , typename iType5 , typename iType6 >
KOKKOS_FORCEINLINE_FUNCTION Impl::ViewEnableArrayOper< reference_type, traits, LayoutLeft, 8, 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< reference_type, traits, LayoutRight, 8, 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< reference_type, traits, typename traits::array_layout, 8, 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::storage_type::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
 

Static Public Attributes

static const bool is_static = stokhos_storage_type::is_static
 
static const bool is_contiguous
 

Friends

template<class , class , class , class , class >
class View
 
template<class , class , class >
struct Impl::ViewAssignment
 

Detailed Description

template<class DataType, class Arg1Type, class Arg2Type, class Arg3Type>
class Kokkos::View< DataType, Arg1Type, Arg2Type, Arg3Type, Impl::ViewMPVectorInterlaced >

View::value_type == Sacado::MP::Vector< Stokhos::StorageType<...> >

Member Data Documentation

template<class DataType , class Arg1Type , class Arg2Type , class Arg3Type >
const bool Kokkos::View< DataType, Arg1Type, Arg2Type, Arg3Type, Impl::ViewMPVectorInterlaced >::is_contiguous
static
Initial value:
=
Impl::is_same< typename traits::array_layout , LayoutRight >::value

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