VTK-m  2.2
Namespaces | Classes | Typedefs | Functions
vtkm::cont::openmp Namespace Reference

OPenMP implementation for Control Environment. More...

Namespaces

 scan
 
 sort
 

Classes

struct  CleanArrayRefImpl
 
struct  CleanArrayRefImpl< vtkm::internal::ArrayPortalValueReference< PortalType > >
 
struct  CopyIfHelper
 
struct  ReduceHelper
 
struct  UniqueHelper
 

Typedefs

template<typename T >
using CleanArrayRef = typename CleanArrayRefImpl< T >::type
 
template<typename T >
using OpenMPReductionSupported = std::false_type
 
template<typename InPortalT , typename OutPortalT , typename FunctorT >
using ScanExclusiveHelper = scan::Adder< scan::ScanExclusiveBody< InPortalT, OutPortalT, FunctorT > >
 
template<typename InPortalT , typename OutPortalT , typename FunctorT >
using ScanInclusiveHelper = scan::Adder< scan::ScanInclusiveBody< InPortalT, OutPortalT, FunctorT > >
 

Functions

template<typename KeysInArray , typename ValuesInArray , typename KeysOutArray , typename ValuesOutArray , typename BinaryFunctor >
void ReduceByKeyHelper (KeysInArray keysInArray, ValuesInArray valuesInArray, KeysOutArray keysOutArray, ValuesOutArray valuesOutArray, BinaryFunctor functor)
 

Detailed Description

OPenMP implementation for Control Environment.

vtkm::cont::openmp includes the code to implement the VTK-m Control Environment for the OpenMP-based device adapter.

Typedef Documentation

◆ CleanArrayRef

template<typename T >
using vtkm::cont::openmp::CleanArrayRef = typedef typename CleanArrayRefImpl<T>::type

◆ OpenMPReductionSupported

template<typename T >
using vtkm::cont::openmp::OpenMPReductionSupported = typedef std::false_type

◆ ScanExclusiveHelper

template<typename InPortalT , typename OutPortalT , typename FunctorT >
using vtkm::cont::openmp::ScanExclusiveHelper = typedef scan::Adder<scan::ScanExclusiveBody<InPortalT, OutPortalT, FunctorT> >

◆ ScanInclusiveHelper

template<typename InPortalT , typename OutPortalT , typename FunctorT >
using vtkm::cont::openmp::ScanInclusiveHelper = typedef scan::Adder<scan::ScanInclusiveBody<InPortalT, OutPortalT, FunctorT> >

Function Documentation

◆ ReduceByKeyHelper()

template<typename KeysInArray , typename ValuesInArray , typename KeysOutArray , typename ValuesOutArray , typename BinaryFunctor >
void vtkm::cont::openmp::ReduceByKeyHelper ( KeysInArray  keysInArray,
ValuesInArray  valuesInArray,
KeysOutArray  keysOutArray,
ValuesOutArray  valuesOutArray,
BinaryFunctor  functor 
)