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

#include <KokkosExp_View_MP_Vector_Contiguous.hpp>

Public Types

typedef ViewValueFunctor< ExecSpace, scalar_typeScalarFunctorType
 
typedef VectorConstruct< ExecSpace > VectorFunctorType
 

Public Member Functions

 ConstructDestructFunctor ()=default
 
 ConstructDestructFunctor (const ConstructDestructFunctor &)=default
 
ConstructDestructFunctoroperator= (const ConstructDestructFunctor &)=default
 
 ConstructDestructFunctor (const ExecSpace &space, const bool initialize, const size_t span, const unsigned vector_size, scalar_type *scalar_ptr, value_type *value_ptr)
 
void construct_shared_allocation ()
 
void destroy_shared_allocation ()
 

Public Attributes

ScalarFunctorType m_scalar_functor
 
VectorFunctorType m_vector_functor
 
bool m_initialize
 

Detailed Description

template<class ValueType>
template<class ExecSpace>
struct Kokkos::Experimental::Impl::MPVectorAllocation< ValueType, false >::ConstructDestructFunctor< ExecSpace >

Definition at line 443 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

Member Typedef Documentation

◆ ScalarFunctorType

template<class ValueType >
template<class ExecSpace >
typedef ViewValueFunctor< ExecSpace, scalar_type > Kokkos::Experimental::Impl::MPVectorAllocation< ValueType, false >::ConstructDestructFunctor< ExecSpace >::ScalarFunctorType

Definition at line 444 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

◆ VectorFunctorType

template<class ValueType >
template<class ExecSpace >
typedef VectorConstruct< ExecSpace > Kokkos::Experimental::Impl::MPVectorAllocation< ValueType, false >::ConstructDestructFunctor< ExecSpace >::VectorFunctorType

Definition at line 445 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

Constructor & Destructor Documentation

◆ ConstructDestructFunctor() [1/3]

template<class ValueType >
template<class ExecSpace >
Kokkos::Experimental::Impl::MPVectorAllocation< ValueType, false >::ConstructDestructFunctor< ExecSpace >::ConstructDestructFunctor ( )
default

◆ ConstructDestructFunctor() [2/3]

template<class ValueType >
template<class ExecSpace >
Kokkos::Experimental::Impl::MPVectorAllocation< ValueType, false >::ConstructDestructFunctor< ExecSpace >::ConstructDestructFunctor ( const ConstructDestructFunctor &  )
default

◆ ConstructDestructFunctor() [3/3]

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

Definition at line 454 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

Member Function Documentation

◆ operator=()

template<class ValueType >
template<class ExecSpace >
ConstructDestructFunctor& Kokkos::Experimental::Impl::MPVectorAllocation< ValueType, false >::ConstructDestructFunctor< ExecSpace >::operator= ( const ConstructDestructFunctor )
default

◆ construct_shared_allocation()

template<class ValueType >
template<class ExecSpace >
void Kokkos::Experimental::Impl::MPVectorAllocation< ValueType, false >::ConstructDestructFunctor< ExecSpace >::construct_shared_allocation ( )
inline

Definition at line 464 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

◆ destroy_shared_allocation()

template<class ValueType >
template<class ExecSpace >
void Kokkos::Experimental::Impl::MPVectorAllocation< ValueType, false >::ConstructDestructFunctor< ExecSpace >::destroy_shared_allocation ( )
inline

Definition at line 482 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

Member Data Documentation

◆ m_scalar_functor

template<class ValueType >
template<class ExecSpace >
ScalarFunctorType Kokkos::Experimental::Impl::MPVectorAllocation< ValueType, false >::ConstructDestructFunctor< ExecSpace >::m_scalar_functor

Definition at line 446 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

◆ m_vector_functor

template<class ValueType >
template<class ExecSpace >
VectorFunctorType Kokkos::Experimental::Impl::MPVectorAllocation< ValueType, false >::ConstructDestructFunctor< ExecSpace >::m_vector_functor

Definition at line 447 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

◆ m_initialize

template<class ValueType >
template<class ExecSpace >
bool Kokkos::Experimental::Impl::MPVectorAllocation< ValueType, false >::ConstructDestructFunctor< ExecSpace >::m_initialize

Definition at line 448 of file KokkosExp_View_MP_Vector_Contiguous.hpp.


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