Stokhos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
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 >
KOKKOS_INLINE_FUNCTION 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 583 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 584 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 585 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 597 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 )
inlinestaticconstexpr

Definition at line 592 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 601 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 608 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 645 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

◆ assign()

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

Definition at line 655 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 587 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 588 of file KokkosExp_View_MP_Vector_Contiguous.hpp.


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