Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Kokkos::Experimental::Impl::MPVectorAllocation< ValueType, true > Struct Template Reference

#include <KokkosExp_View_MP_Vector_Contiguous.hpp>

Classes

struct  ConstructDestructFunctor
 

Public Types

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

Public Member Functions

KOKKOS_INLINE_FUNCTION MPVectorAllocation ()
 
template<typename T >
KOKKOS_INLINE_FUNCTION MPVectorAllocationoperator= (const MPVectorAllocation< T, true > &a)
 
KOKKOS_INLINE_FUNCTION void set (value_type *ptr, const size_t span, const unsigned vector_size)
 
template<class ExecSpace >
ConstructDestructFunctor< ExecSpace > create_functor (const ExecSpace &space, const bool initialize, const size_t span, const unsigned vector_size) 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 vector_size)
 

Public Attributes

value_typevalue_ptr
 
scalar_typescalar_ptr
 

Detailed Description

template<class ValueType>
struct Kokkos::Experimental::Impl::MPVectorAllocation< ValueType, true >

Definition at line 286 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

Member Typedef Documentation

◆ value_type

template<class ValueType >
typedef ValueType Kokkos::Experimental::Impl::MPVectorAllocation< ValueType, true >::value_type

Definition at line 287 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

◆ scalar_type

template<class ValueType >
typedef Sacado::ValueType<value_type>::type Kokkos::Experimental::Impl::MPVectorAllocation< ValueType, true >::scalar_type

Definition at line 288 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

Constructor & Destructor Documentation

◆ MPVectorAllocation()

template<class ValueType >
KOKKOS_INLINE_FUNCTION Kokkos::Experimental::Impl::MPVectorAllocation< ValueType, true >::MPVectorAllocation ( )
inline

Definition at line 300 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

Member Function Documentation

◆ memory_span()

template<class ValueType >
static KOKKOS_INLINE_FUNCTION constexpr size_t Kokkos::Experimental::Impl::MPVectorAllocation< ValueType, true >::memory_span ( const size_t  span,
const unsigned  vector_size 
)
inlinestatic

Definition at line 295 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

◆ operator=()

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

Definition at line 304 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

◆ set()

template<class ValueType >
KOKKOS_INLINE_FUNCTION void Kokkos::Experimental::Impl::MPVectorAllocation< ValueType, true >::set ( value_type ptr,
const size_t  span,
const unsigned  vector_size 
)
inline

Definition at line 311 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

◆ create_functor()

template<class ValueType >
template<class ExecSpace >
ConstructDestructFunctor<ExecSpace> Kokkos::Experimental::Impl::MPVectorAllocation< ValueType, true >::create_functor ( const ExecSpace &  space,
const bool  initialize,
const size_t  span,
const unsigned  vector_size 
) const
inline

Definition at line 348 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

◆ assign()

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

Definition at line 357 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

Member Data Documentation

◆ value_ptr

template<class ValueType >
value_type* Kokkos::Experimental::Impl::MPVectorAllocation< ValueType, true >::value_ptr

Definition at line 290 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

◆ scalar_ptr

template<class ValueType >
scalar_type* Kokkos::Experimental::Impl::MPVectorAllocation< ValueType, true >::scalar_ptr

Definition at line 291 of file KokkosExp_View_MP_Vector_Contiguous.hpp.


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