VTK-m  2.0
Classes | Static Public Member Functions | List of all members
vtkm::cont::openmp::ReduceHelper Struct Reference

#include <FunctorsOpenMP.h>

Classes

struct  IsIntegral
 
struct  IsIntegral< vtkm::Pair< T, U > >
 
struct  IsIntegral< vtkm::Vec< T, Size > >
 

Static Public Member Functions

template<typename PortalT , typename ReturnType , typename Functor >
static ReturnType Execute (PortalT portal, ReturnType init, Functor functorIn, std::false_type)
 
template<typename ReturnType , typename IterType , typename FunctorType >
static ReturnType DoParallelReduction (IterType data, const vtkm::Id &numVals, const int &tid, const int &numThreads, FunctorType f, std::false_type)
 
template<typename ReturnType , typename IterType , typename FunctorType >
static ReturnType DoParallelReduction (IterType data, const vtkm::Id &numVals, const int &tid, const int &numThreads, FunctorType f, std::true_type)
 

Member Function Documentation

◆ DoParallelReduction() [1/2]

template<typename ReturnType , typename IterType , typename FunctorType >
static ReturnType vtkm::cont::openmp::ReduceHelper::DoParallelReduction ( IterType  data,
const vtkm::Id numVals,
const int &  tid,
const int &  numThreads,
FunctorType  f,
std::false_type   
)
inlinestatic

◆ DoParallelReduction() [2/2]

template<typename ReturnType , typename IterType , typename FunctorType >
static ReturnType vtkm::cont::openmp::ReduceHelper::DoParallelReduction ( IterType  data,
const vtkm::Id numVals,
const int &  tid,
const int &  numThreads,
FunctorType  f,
std::true_type   
)
inlinestatic

◆ Execute()

template<typename PortalT , typename ReturnType , typename Functor >
static ReturnType vtkm::cont::openmp::ReduceHelper::Execute ( PortalT  portal,
ReturnType  init,
Functor  functorIn,
std::false_type   
)
inlinestatic

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