Stokhos
Development
|
View::value_type == Sacado::MP::Vector< Storage<...> > More...
#include <Kokkos_View_MP_Vector_Contiguous.hpp>
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) |
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<class AllocationProperties , typename iType > | |
View (const AllocationProperties &prop, const iType *const n, const typename Impl::ViewAllocProp< traits, AllocationProperties >::size_type=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::non_const_value_type >::value), const size_t >::type n7=0) | |
template<class D , class A1 , class A2 , class A3 , class SubArg0_type , class SubArg1_type , class SubArg2_type , class SubArg3_type , class SubArg4_type , class SubArg5_type , class SubArg6_type , class SubArg7_type > | |
KOKKOS_INLINE_FUNCTION | View (const View< D, A1, A2, A3, Impl::ViewMPVectorContiguous > &src, const SubArg0_type &arg0, const SubArg1_type &arg1, const SubArg2_type &arg2, const SubArg3_type &arg3, const SubArg4_type &arg4, const SubArg5_type &arg5, const SubArg6_type &arg6, const SubArg7_type &arg7) |
Constructors for subviews requires following type-compatibility condition, enforce via StaticAssert. More... | |
template<class D , class A1 , class A2 , class A3 , class SubArg0_type , class SubArg1_type , class SubArg2_type , class SubArg3_type , class SubArg4_type , class SubArg5_type , class SubArg6_type > | |
KOKKOS_INLINE_FUNCTION | View (const View< D, A1, A2, A3, Impl::ViewMPVectorContiguous > &src, const SubArg0_type &arg0, const SubArg1_type &arg1, const SubArg2_type &arg2, const SubArg3_type &arg3, const SubArg4_type &arg4, const SubArg5_type &arg5, const SubArg6_type &arg6) |
template<class D , class A1 , class A2 , class A3 , class SubArg0_type , class SubArg1_type , class SubArg2_type , class SubArg3_type , class SubArg4_type , class SubArg5_type > | |
KOKKOS_INLINE_FUNCTION | View (const View< D, A1, A2, A3, Impl::ViewMPVectorContiguous > &src, const SubArg0_type &arg0, const SubArg1_type &arg1, const SubArg2_type &arg2, const SubArg3_type &arg3, const SubArg4_type &arg4, const SubArg5_type &arg5) |
template<class D , class A1 , class A2 , class A3 , class SubArg0_type , class SubArg1_type , class SubArg2_type , class SubArg3_type , class SubArg4_type > | |
KOKKOS_INLINE_FUNCTION | View (const View< D, A1, A2, A3, Impl::ViewMPVectorContiguous > &src, const SubArg0_type &arg0, const SubArg1_type &arg1, const SubArg2_type &arg2, const SubArg3_type &arg3, const SubArg4_type &arg4) |
template<class D , class A1 , class A2 , class A3 , class SubArg0_type , class SubArg1_type , class SubArg2_type , class SubArg3_type > | |
KOKKOS_INLINE_FUNCTION | View (const View< D, A1, A2, A3, Impl::ViewMPVectorContiguous > &src, const SubArg0_type &arg0, const SubArg1_type &arg1, const SubArg2_type &arg2, const SubArg3_type &arg3) |
template<class D , class A1 , class A2 , class A3 , class SubArg0_type , class SubArg1_type , class SubArg2_type > | |
KOKKOS_INLINE_FUNCTION | View (const View< D, A1, A2, A3, Impl::ViewMPVectorContiguous > &src, const SubArg0_type &arg0, const SubArg1_type &arg1, const SubArg2_type &arg2) |
template<class D , class A1 , class A2 , class A3 , class SubArg0_type , class SubArg1_type > | |
KOKKOS_INLINE_FUNCTION | View (const View< D, A1, A2, A3, Impl::ViewMPVectorContiguous > &src, const SubArg0_type &arg0, const SubArg1_type &arg1) |
template<class D , class A1 , class A2 , class A3 , class SubArg0_type > | |
KOKKOS_INLINE_FUNCTION | View (const View< D, A1, A2, A3, Impl::ViewMPVectorContiguous > &src, const SubArg0_type &arg0) |
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, 1, iType0 >::type | operator() (const iType0 &i0) const |
template<typename iType0 > | |
KOKKOS_FORCEINLINE_FUNCTION Impl::ViewEnableArrayOper< reference_type, traits, LayoutLeft, 1, iType0 >::type | operator[] (const iType0 &i0) const |
template<typename iType0 > | |
KOKKOS_FORCEINLINE_FUNCTION Impl::ViewEnableArrayOper< reference_type, traits, LayoutLeft, 1, iType0 >::type | at (const iType0 &i0, int, int, int, int, int, int, int) const |
template<typename iType0 > | |
KOKKOS_FORCEINLINE_FUNCTION Impl::ViewEnableArrayOper< reference_type, traits, LayoutRight, 1, iType0 >::type | operator() (const iType0 &i0) const |
template<typename iType0 > | |
KOKKOS_FORCEINLINE_FUNCTION Impl::ViewEnableArrayOper< reference_type, traits, LayoutRight, 1, iType0 >::type | operator[] (const iType0 &i0) const |
template<typename iType0 > | |
KOKKOS_FORCEINLINE_FUNCTION Impl::ViewEnableArrayOper< reference_type, traits, LayoutRight, 1, iType0 >::type | at (const iType0 &i0, int, int, int, int, int, int, int) const |
template<typename iType0 > | |
KOKKOS_FORCEINLINE_FUNCTION Impl::ViewEnableArrayOper< reference_type, traits, typename Impl::if_c< Impl::is_same< typename traits::array_layout, LayoutRight >::value||Impl::is_same< typename traits::array_layout, LayoutLeft >::value, void, typename traits::array_layout >::type, 1, iType0 >::type | operator() (const iType0 &i0) const |
template<typename iType0 > | |
KOKKOS_FORCEINLINE_FUNCTION Impl::ViewEnableArrayOper< reference_type, traits, typename Impl::if_c< Impl::is_same< typename traits::array_layout, LayoutRight >::value||Impl::is_same< typename traits::array_layout, LayoutLeft >::value, void, typename traits::array_layout >::type, 1, iType0 >::type | operator[] (const iType0 &i0) const |
template<typename iType0 > | |
KOKKOS_FORCEINLINE_FUNCTION Impl::ViewEnableArrayOper< reference_type, traits, typename Impl::if_c< Impl::is_same< typename traits::array_layout, LayoutRight >::value||Impl::is_same< typename traits::array_layout, LayoutLeft >::value, void, typename traits::array_layout >::type, 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< reference_type, traits, typename traits::array_layout, 2, 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, 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< reference_type, traits, typename traits::array_layout, 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< reference_type, traits, typename traits::array_layout, 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< reference_type, traits, typename traits::array_layout, 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< reference_type, traits, typename traits::array_layout, 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< reference_type, traits, typename traits::array_layout, 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< reference_type, traits, typename traits::array_layout, 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< reference_type, traits, typename traits::array_layout, 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< reference_type, traits, typename traits::array_layout, 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< reference_type, traits, typename traits::array_layout, 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< reference_type, traits, typename traits::array_layout, 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::Impl::AllocationTracker const & | tracker () const |
Static Public Attributes | |
static const bool | is_static = stokhos_storage_type::is_static |
static const bool | is_contiguous = true |
Friends | |
template<class , class , class , class , class > | |
class | View |
template<class , class , class > | |
struct | Impl::ViewAssignment |
View::value_type == Sacado::MP::Vector< Storage<...> >
KOKKOS_INLINE_FUNCTION Kokkos::View< DataType, Arg1Type, Arg2Type, Arg3Type, Impl::ViewMPVectorContiguous >::View | ( | const View< D, A1, A2, A3, Impl::ViewMPVectorContiguous > & | src, |
const SubArg0_type & | arg0, | ||
const SubArg1_type & | arg1, | ||
const SubArg2_type & | arg2, | ||
const SubArg3_type & | arg3, | ||
const SubArg4_type & | arg4, | ||
const SubArg5_type & | arg5, | ||
const SubArg6_type & | arg6, | ||
const SubArg7_type & | arg7 | ||
) |
Constructors for subviews requires following type-compatibility condition, enforce via StaticAssert.
Impl::is_same< View , typename Impl::ViewSubview< View<D,A1,A2,A3,Impl::ViewDefault> , ArgType0 , ArgType1 , ArgType2 , ArgType3 , ArgType4 , ArgType5 , ArgType6 , ArgType7 >::type >value