VTK-m  2.0
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
vtkm::cont::tbb::ReduceByKeyBody< KeysInPortalType, ValuesInPortalType, KeysOutPortalType, ValuesOutPortalType, BinaryOperationType > Struct Template Reference

#include <FunctorsTBB.h>

Classes

struct  Range
 

Public Types

using KeyType = typename KeysInPortalType::ValueType
 
using ValueType = typename ValuesInPortalType::ValueType
 

Public Member Functions

VTKM_CONT ReduceByKeyBody (const KeysInPortalType &keysInPortal, const ValuesInPortalType &valuesInPortal, const KeysOutPortalType &keysOutPortal, const ValuesOutPortalType &valuesOutPortal, BinaryOperationType binaryOperation)
 
 ReduceByKeyBody (const ReduceByKeyBody &body, ::tbb::split)
 
void operator() (const ::tbb::blocked_range< vtkm::Id > &range)
 
void join (const ReduceByKeyBody &rhs)
 

Public Attributes

KeysInPortalType KeysInPortal
 
ValuesInPortalType ValuesInPortal
 
KeysOutPortalType KeysOutPortal
 
ValuesOutPortalType ValuesOutPortal
 
BinaryOperationType BinaryOperation
 
Range Ranges
 

Member Typedef Documentation

◆ KeyType

template<typename KeysInPortalType , typename ValuesInPortalType , typename KeysOutPortalType , typename ValuesOutPortalType , class BinaryOperationType >
using vtkm::cont::tbb::ReduceByKeyBody< KeysInPortalType, ValuesInPortalType, KeysOutPortalType, ValuesOutPortalType, BinaryOperationType >::KeyType = typename KeysInPortalType::ValueType

◆ ValueType

template<typename KeysInPortalType , typename ValuesInPortalType , typename KeysOutPortalType , typename ValuesOutPortalType , class BinaryOperationType >
using vtkm::cont::tbb::ReduceByKeyBody< KeysInPortalType, ValuesInPortalType, KeysOutPortalType, ValuesOutPortalType, BinaryOperationType >::ValueType = typename ValuesInPortalType::ValueType

Constructor & Destructor Documentation

◆ ReduceByKeyBody() [1/2]

template<typename KeysInPortalType , typename ValuesInPortalType , typename KeysOutPortalType , typename ValuesOutPortalType , class BinaryOperationType >
VTKM_CONT vtkm::cont::tbb::ReduceByKeyBody< KeysInPortalType, ValuesInPortalType, KeysOutPortalType, ValuesOutPortalType, BinaryOperationType >::ReduceByKeyBody ( const KeysInPortalType &  keysInPortal,
const ValuesInPortalType &  valuesInPortal,
const KeysOutPortalType &  keysOutPortal,
const ValuesOutPortalType &  valuesOutPortal,
BinaryOperationType  binaryOperation 
)
inline

◆ ReduceByKeyBody() [2/2]

template<typename KeysInPortalType , typename ValuesInPortalType , typename KeysOutPortalType , typename ValuesOutPortalType , class BinaryOperationType >
vtkm::cont::tbb::ReduceByKeyBody< KeysInPortalType, ValuesInPortalType, KeysOutPortalType, ValuesOutPortalType, BinaryOperationType >::ReduceByKeyBody ( const ReduceByKeyBody< KeysInPortalType, ValuesInPortalType, KeysOutPortalType, ValuesOutPortalType, BinaryOperationType > &  body,
::tbb::split   
)
inline

Member Function Documentation

◆ join()

template<typename KeysInPortalType , typename ValuesInPortalType , typename KeysOutPortalType , typename ValuesOutPortalType , class BinaryOperationType >
void vtkm::cont::tbb::ReduceByKeyBody< KeysInPortalType, ValuesInPortalType, KeysOutPortalType, ValuesOutPortalType, BinaryOperationType >::join ( const ReduceByKeyBody< KeysInPortalType, ValuesInPortalType, KeysOutPortalType, ValuesOutPortalType, BinaryOperationType > &  rhs)
inline

◆ operator()()

template<typename KeysInPortalType , typename ValuesInPortalType , typename KeysOutPortalType , typename ValuesOutPortalType , class BinaryOperationType >
void vtkm::cont::tbb::ReduceByKeyBody< KeysInPortalType, ValuesInPortalType, KeysOutPortalType, ValuesOutPortalType, BinaryOperationType >::operator() ( const ::tbb::blocked_range< vtkm::Id > &  range)
inline

Member Data Documentation

◆ BinaryOperation

template<typename KeysInPortalType , typename ValuesInPortalType , typename KeysOutPortalType , typename ValuesOutPortalType , class BinaryOperationType >
BinaryOperationType vtkm::cont::tbb::ReduceByKeyBody< KeysInPortalType, ValuesInPortalType, KeysOutPortalType, ValuesOutPortalType, BinaryOperationType >::BinaryOperation

◆ KeysInPortal

template<typename KeysInPortalType , typename ValuesInPortalType , typename KeysOutPortalType , typename ValuesOutPortalType , class BinaryOperationType >
KeysInPortalType vtkm::cont::tbb::ReduceByKeyBody< KeysInPortalType, ValuesInPortalType, KeysOutPortalType, ValuesOutPortalType, BinaryOperationType >::KeysInPortal

◆ KeysOutPortal

template<typename KeysInPortalType , typename ValuesInPortalType , typename KeysOutPortalType , typename ValuesOutPortalType , class BinaryOperationType >
KeysOutPortalType vtkm::cont::tbb::ReduceByKeyBody< KeysInPortalType, ValuesInPortalType, KeysOutPortalType, ValuesOutPortalType, BinaryOperationType >::KeysOutPortal

◆ Ranges

template<typename KeysInPortalType , typename ValuesInPortalType , typename KeysOutPortalType , typename ValuesOutPortalType , class BinaryOperationType >
Range vtkm::cont::tbb::ReduceByKeyBody< KeysInPortalType, ValuesInPortalType, KeysOutPortalType, ValuesOutPortalType, BinaryOperationType >::Ranges

◆ ValuesInPortal

template<typename KeysInPortalType , typename ValuesInPortalType , typename KeysOutPortalType , typename ValuesOutPortalType , class BinaryOperationType >
ValuesInPortalType vtkm::cont::tbb::ReduceByKeyBody< KeysInPortalType, ValuesInPortalType, KeysOutPortalType, ValuesOutPortalType, BinaryOperationType >::ValuesInPortal

◆ ValuesOutPortal

template<typename KeysInPortalType , typename ValuesInPortalType , typename KeysOutPortalType , typename ValuesOutPortalType , class BinaryOperationType >
ValuesOutPortalType vtkm::cont::tbb::ReduceByKeyBody< KeysInPortalType, ValuesInPortalType, KeysOutPortalType, ValuesOutPortalType, BinaryOperationType >::ValuesOutPortal

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