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, true >::ConstructDestructFunctor< ExecSpace > Struct Template Reference

#include <KokkosExp_View_MP_Vector_Contiguous.hpp>

Public Types

typedef ViewValueFunctor< ExecSpace, scalar_typeFunctorType
 

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)
 
void construct_shared_allocation ()
 
void destroy_shared_allocation ()
 

Public Attributes

FunctorType m_functor
 
bool m_initialize
 

Detailed Description

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

Definition at line 317 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

Member Typedef Documentation

◆ FunctorType

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

Definition at line 318 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, true >::ConstructDestructFunctor< ExecSpace >::ConstructDestructFunctor ( )
default

◆ ConstructDestructFunctor() [2/3]

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

◆ ConstructDestructFunctor() [3/3]

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

Definition at line 326 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

Member Function Documentation

◆ operator=()

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

◆ construct_shared_allocation()

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

Definition at line 334 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

◆ destroy_shared_allocation()

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

Definition at line 339 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

Member Data Documentation

◆ m_functor

template<class ValueType >
template<class ExecSpace >
FunctorType Kokkos::Experimental::Impl::MPVectorAllocation< ValueType, true >::ConstructDestructFunctor< ExecSpace >::m_functor

Definition at line 319 of file KokkosExp_View_MP_Vector_Contiguous.hpp.

◆ m_initialize

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

Definition at line 320 of file KokkosExp_View_MP_Vector_Contiguous.hpp.


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