Stokhos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
Kokkos::Experimental::Impl::PCEAllocation< ValueType > Struct Template Reference

#include <KokkosExp_View_UQ_PCE_Contiguous.hpp>

Inheritance diagram for Kokkos::Experimental::Impl::PCEAllocation< ValueType >:

Classes

struct  PCEConstruct
struct  ConstructDestructFunctor

Public Types

typedef ValueType value_type
typedef Sacado::ValueType< value_type >::type scalar_type
typedef value_type::cijk_type cijk_type

Public Member Functions

KOKKOS_INLINE_FUNCTION PCEAllocation ()
template<typename T>
KOKKOS_INLINE_FUNCTION PCEAllocationoperator= (const PCEAllocation< T > &a)
KOKKOS_INLINE_FUNCTION void set (value_type *ptr, const size_t span, const unsigned pce_size)
template<class ExecSpace>
ConstructDestructFunctor< ExecSpace > create_functor (const ExecSpace &space, const bool initialize, const size_t span, const unsigned pce_size, const cijk_type &cijk) const
template<typename T>
void assign (T *ptr)

Static Public Member Functions

static KOKKOS_INLINE_FUNCTION constexpr size_t memory_span (const size_t span, const unsigned pce_size)

Public Attributes

value_typevalue_ptr
scalar_typescalar_ptr

Detailed Description

template<class ValueType>
struct Kokkos::Experimental::Impl::PCEAllocation< ValueType >

Definition at line 884 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.

Member Typedef Documentation

◆ value_type

template<class ValueType>
typedef ValueType Kokkos::Experimental::Impl::PCEAllocation< ValueType >::value_type

Definition at line 885 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.

◆ scalar_type

template<class ValueType>
typedef Sacado::ValueType<value_type>::type Kokkos::Experimental::Impl::PCEAllocation< ValueType >::scalar_type

Definition at line 886 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.

◆ cijk_type

template<class ValueType>
typedef value_type::cijk_type Kokkos::Experimental::Impl::PCEAllocation< ValueType >::cijk_type

Definition at line 887 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.

Constructor & Destructor Documentation

◆ PCEAllocation()

template<class ValueType>
KOKKOS_INLINE_FUNCTION Kokkos::Experimental::Impl::PCEAllocation< ValueType >::PCEAllocation ( )
inline

Definition at line 899 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.

Member Function Documentation

◆ memory_span()

template<class ValueType>
KOKKOS_INLINE_FUNCTION constexpr size_t Kokkos::Experimental::Impl::PCEAllocation< ValueType >::memory_span ( const size_t span,
const unsigned pce_size )
inlinestaticconstexpr

Definition at line 894 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.

◆ operator=()

template<class ValueType>
template<typename T>
KOKKOS_INLINE_FUNCTION PCEAllocation & Kokkos::Experimental::Impl::PCEAllocation< ValueType >::operator= ( const PCEAllocation< T > & a)
inline

Definition at line 903 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.

◆ set()

template<class ValueType>
KOKKOS_INLINE_FUNCTION void Kokkos::Experimental::Impl::PCEAllocation< ValueType >::set ( value_type * ptr,
const size_t span,
const unsigned pce_size )
inline

Definition at line 913 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.

◆ create_functor()

template<class ValueType>
template<class ExecSpace>
ConstructDestructFunctor< ExecSpace > Kokkos::Experimental::Impl::PCEAllocation< ValueType >::create_functor ( const ExecSpace & space,
const bool initialize,
const size_t span,
const unsigned pce_size,
const cijk_type & cijk ) const
inline

Definition at line 1012 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.

◆ assign()

template<class ValueType>
template<typename T>
void Kokkos::Experimental::Impl::PCEAllocation< ValueType >::assign ( T * ptr)
inline

Definition at line 1025 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.

Member Data Documentation

◆ value_ptr

template<class ValueType>
value_type* Kokkos::Experimental::Impl::PCEAllocation< ValueType >::value_ptr

Definition at line 889 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.

◆ scalar_ptr

template<class ValueType>
scalar_type* Kokkos::Experimental::Impl::PCEAllocation< ValueType >::scalar_ptr

Definition at line 890 of file KokkosExp_View_UQ_PCE_Contiguous.hpp.


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