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, false > Struct Template Reference

#include <KokkosExp_View_MP_Vector_Contiguous.hpp>

Classes

struct  ConstructDestructFunctor
 
struct  VectorConstruct
 

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, false > &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, false >

Definition at line 668 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

Member Typedef Documentation

◆ value_type

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

Definition at line 669 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

◆ scalar_type

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

Definition at line 670 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

Constructor & Destructor Documentation

◆ MPVectorAllocation()

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

Definition at line 682 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, false >::memory_span ( const size_t span,
const unsigned vector_size )
inlinestaticconstexpr

Definition at line 677 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

◆ operator=()

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

Definition at line 686 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

◆ set()

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

Definition at line 696 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

◆ create_functor()

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

Definition at line 791 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

◆ assign()

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

Definition at line 802 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

Member Data Documentation

◆ value_ptr

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

Definition at line 672 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

◆ scalar_ptr

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

Definition at line 673 of file KokkosExp_View_MP_Vector_Contiguous.hpp.


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