Stokhos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Tpetra::KokkosRefactor::Details::UnpackArrayMultiColumn< ExecutionSpace, DstView, SrcView, IdxView, Op, typename std::enable_if< Kokkos::is_view_mp_vector< DstView >::value &&Kokkos::is_view_mp_vector< SrcView >::value >::type > Struct Template Reference

#include <Tpetra_KokkosRefactor_Details_MultiVectorDistObjectKernels_MP_Vector.hpp>

Public Types

typedef ExecutionSpace::execution_space execution_space
 
typedef execution_space::size_type size_type
 

Public Member Functions

 UnpackArrayMultiColumn (const ExecutionSpace &, const DstView &dst_, const SrcView &src_, const IdxView &idx_, const Op &op_, const size_t numCols_)
 
template<class TagType >
KOKKOS_INLINE_FUNCTION void operator() (TagType tag, const size_type k) const
 
template<class TagType >
KOKKOS_INLINE_FUNCTION void operator() (TagType tag, const size_type k, const size_type tidx) const
 

Static Public Member Functions

static void unpack (const ExecutionSpace &execSpace, const DstView &dst, const SrcView &src, const IdxView &idx, const Op &op, const size_t numCols, const bool use_atomic_updates)
 

Public Attributes

DstView dst
 
SrcView src
 
IdxView idx
 
Op op
 
size_t numCols
 

Detailed Description

template<typename ExecutionSpace, typename DstView, typename SrcView, typename IdxView, typename Op>
struct Tpetra::KokkosRefactor::Details::UnpackArrayMultiColumn< ExecutionSpace, DstView, SrcView, IdxView, Op, typename std::enable_if< Kokkos::is_view_mp_vector< DstView >::value &&Kokkos::is_view_mp_vector< SrcView >::value >::type >

Definition at line 207 of file Tpetra_KokkosRefactor_Details_MultiVectorDistObjectKernels_MP_Vector.hpp.

Member Typedef Documentation

◆ execution_space

template<typename ExecutionSpace , typename DstView , typename SrcView , typename IdxView , typename Op >
typedef ExecutionSpace::execution_space Tpetra::KokkosRefactor::Details::UnpackArrayMultiColumn< ExecutionSpace, DstView, SrcView, IdxView, Op, typename std::enable_if< Kokkos::is_view_mp_vector< DstView >::value &&Kokkos::is_view_mp_vector< SrcView >::value >::type >::execution_space

◆ size_type

template<typename ExecutionSpace , typename DstView , typename SrcView , typename IdxView , typename Op >
typedef execution_space::size_type Tpetra::KokkosRefactor::Details::UnpackArrayMultiColumn< ExecutionSpace, DstView, SrcView, IdxView, Op, typename std::enable_if< Kokkos::is_view_mp_vector< DstView >::value &&Kokkos::is_view_mp_vector< SrcView >::value >::type >::size_type

Constructor & Destructor Documentation

◆ UnpackArrayMultiColumn()

template<typename ExecutionSpace , typename DstView , typename SrcView , typename IdxView , typename Op >
Tpetra::KokkosRefactor::Details::UnpackArrayMultiColumn< ExecutionSpace, DstView, SrcView, IdxView, Op, typename std::enable_if< Kokkos::is_view_mp_vector< DstView >::value &&Kokkos::is_view_mp_vector< SrcView >::value >::type >::UnpackArrayMultiColumn ( const ExecutionSpace & ,
const DstView & dst_,
const SrcView & src_,
const IdxView & idx_,
const Op & op_,
const size_t numCols_ )
inline

Member Function Documentation

◆ operator()() [1/2]

template<typename ExecutionSpace , typename DstView , typename SrcView , typename IdxView , typename Op >
template<class TagType >
KOKKOS_INLINE_FUNCTION void Tpetra::KokkosRefactor::Details::UnpackArrayMultiColumn< ExecutionSpace, DstView, SrcView, IdxView, Op, typename std::enable_if< Kokkos::is_view_mp_vector< DstView >::value &&Kokkos::is_view_mp_vector< SrcView >::value >::type >::operator() ( TagType tag,
const size_type k ) const
inline

◆ operator()() [2/2]

template<typename ExecutionSpace , typename DstView , typename SrcView , typename IdxView , typename Op >
template<class TagType >
KOKKOS_INLINE_FUNCTION void Tpetra::KokkosRefactor::Details::UnpackArrayMultiColumn< ExecutionSpace, DstView, SrcView, IdxView, Op, typename std::enable_if< Kokkos::is_view_mp_vector< DstView >::value &&Kokkos::is_view_mp_vector< SrcView >::value >::type >::operator() ( TagType tag,
const size_type k,
const size_type tidx ) const
inline

◆ unpack()

template<typename ExecutionSpace , typename DstView , typename SrcView , typename IdxView , typename Op >
static void Tpetra::KokkosRefactor::Details::UnpackArrayMultiColumn< ExecutionSpace, DstView, SrcView, IdxView, Op, typename std::enable_if< Kokkos::is_view_mp_vector< DstView >::value &&Kokkos::is_view_mp_vector< SrcView >::value >::type >::unpack ( const ExecutionSpace & execSpace,
const DstView & dst,
const SrcView & src,
const IdxView & idx,
const Op & op,
const size_t numCols,
const bool use_atomic_updates )
inlinestatic

Member Data Documentation

◆ dst

template<typename ExecutionSpace , typename DstView , typename SrcView , typename IdxView , typename Op >
DstView Tpetra::KokkosRefactor::Details::UnpackArrayMultiColumn< ExecutionSpace, DstView, SrcView, IdxView, Op, typename std::enable_if< Kokkos::is_view_mp_vector< DstView >::value &&Kokkos::is_view_mp_vector< SrcView >::value >::type >::dst

◆ src

template<typename ExecutionSpace , typename DstView , typename SrcView , typename IdxView , typename Op >
SrcView Tpetra::KokkosRefactor::Details::UnpackArrayMultiColumn< ExecutionSpace, DstView, SrcView, IdxView, Op, typename std::enable_if< Kokkos::is_view_mp_vector< DstView >::value &&Kokkos::is_view_mp_vector< SrcView >::value >::type >::src

◆ idx

template<typename ExecutionSpace , typename DstView , typename SrcView , typename IdxView , typename Op >
IdxView Tpetra::KokkosRefactor::Details::UnpackArrayMultiColumn< ExecutionSpace, DstView, SrcView, IdxView, Op, typename std::enable_if< Kokkos::is_view_mp_vector< DstView >::value &&Kokkos::is_view_mp_vector< SrcView >::value >::type >::idx

◆ op

template<typename ExecutionSpace , typename DstView , typename SrcView , typename IdxView , typename Op >
Op Tpetra::KokkosRefactor::Details::UnpackArrayMultiColumn< ExecutionSpace, DstView, SrcView, IdxView, Op, typename std::enable_if< Kokkos::is_view_mp_vector< DstView >::value &&Kokkos::is_view_mp_vector< SrcView >::value >::type >::op

◆ numCols

template<typename ExecutionSpace , typename DstView , typename SrcView , typename IdxView , typename Op >
size_t Tpetra::KokkosRefactor::Details::UnpackArrayMultiColumn< ExecutionSpace, DstView, SrcView, IdxView, Op, typename std::enable_if< Kokkos::is_view_mp_vector< DstView >::value &&Kokkos::is_view_mp_vector< SrcView >::value >::type >::numCols

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