VTK-m  2.0
Public Types | Public Member Functions | Public Attributes | List of all members
vtkm::cont::tbb::ScanExclusiveBody< InputPortalType, OutputPortalType, BinaryOperationType > Struct Template Reference

#include <FunctorsTBB.h>

Public Types

using ValueType = typename std::remove_reference< typename OutputPortalType::ValueType >::type
 

Public Member Functions

VTKM_CONT ScanExclusiveBody (const InputPortalType &inputPortal, const OutputPortalType &outputPortal, BinaryOperationType binaryOperation, const ValueType &initialValue)
 
 ScanExclusiveBody (const ScanExclusiveBody &body, ::tbb::split)
 
void operator() (const ::tbb::blocked_range< vtkm::Id > &range, ::tbb::pre_scan_tag)
 
void operator() (const ::tbb::blocked_range< vtkm::Id > &range, ::tbb::final_scan_tag)
 
void reverse_join (const ScanExclusiveBody &left)
 
void assign (const ScanExclusiveBody &src)
 

Public Attributes

ValueType Sum
 
bool FirstCall
 
InputPortalType InputPortal
 
OutputPortalType OutputPortal
 
BinaryOperationType BinaryOperation
 

Member Typedef Documentation

◆ ValueType

template<class InputPortalType , class OutputPortalType , class BinaryOperationType >
using vtkm::cont::tbb::ScanExclusiveBody< InputPortalType, OutputPortalType, BinaryOperationType >::ValueType = typename std::remove_reference<typename OutputPortalType::ValueType>::type

Constructor & Destructor Documentation

◆ ScanExclusiveBody() [1/2]

template<class InputPortalType , class OutputPortalType , class BinaryOperationType >
VTKM_CONT vtkm::cont::tbb::ScanExclusiveBody< InputPortalType, OutputPortalType, BinaryOperationType >::ScanExclusiveBody ( const InputPortalType &  inputPortal,
const OutputPortalType &  outputPortal,
BinaryOperationType  binaryOperation,
const ValueType initialValue 
)
inline

◆ ScanExclusiveBody() [2/2]

template<class InputPortalType , class OutputPortalType , class BinaryOperationType >
vtkm::cont::tbb::ScanExclusiveBody< InputPortalType, OutputPortalType, BinaryOperationType >::ScanExclusiveBody ( const ScanExclusiveBody< InputPortalType, OutputPortalType, BinaryOperationType > &  body,
::tbb::split   
)
inline

Member Function Documentation

◆ assign()

template<class InputPortalType , class OutputPortalType , class BinaryOperationType >
void vtkm::cont::tbb::ScanExclusiveBody< InputPortalType, OutputPortalType, BinaryOperationType >::assign ( const ScanExclusiveBody< InputPortalType, OutputPortalType, BinaryOperationType > &  src)
inline

◆ operator()() [1/2]

template<class InputPortalType , class OutputPortalType , class BinaryOperationType >
void vtkm::cont::tbb::ScanExclusiveBody< InputPortalType, OutputPortalType, BinaryOperationType >::operator() ( const ::tbb::blocked_range< vtkm::Id > &  range,
::tbb::final_scan_tag   
)
inline

◆ operator()() [2/2]

template<class InputPortalType , class OutputPortalType , class BinaryOperationType >
void vtkm::cont::tbb::ScanExclusiveBody< InputPortalType, OutputPortalType, BinaryOperationType >::operator() ( const ::tbb::blocked_range< vtkm::Id > &  range,
::tbb::pre_scan_tag   
)
inline

◆ reverse_join()

template<class InputPortalType , class OutputPortalType , class BinaryOperationType >
void vtkm::cont::tbb::ScanExclusiveBody< InputPortalType, OutputPortalType, BinaryOperationType >::reverse_join ( const ScanExclusiveBody< InputPortalType, OutputPortalType, BinaryOperationType > &  left)
inline

Member Data Documentation

◆ BinaryOperation

template<class InputPortalType , class OutputPortalType , class BinaryOperationType >
BinaryOperationType vtkm::cont::tbb::ScanExclusiveBody< InputPortalType, OutputPortalType, BinaryOperationType >::BinaryOperation

◆ FirstCall

template<class InputPortalType , class OutputPortalType , class BinaryOperationType >
bool vtkm::cont::tbb::ScanExclusiveBody< InputPortalType, OutputPortalType, BinaryOperationType >::FirstCall

◆ InputPortal

template<class InputPortalType , class OutputPortalType , class BinaryOperationType >
InputPortalType vtkm::cont::tbb::ScanExclusiveBody< InputPortalType, OutputPortalType, BinaryOperationType >::InputPortal

◆ OutputPortal

template<class InputPortalType , class OutputPortalType , class BinaryOperationType >
OutputPortalType vtkm::cont::tbb::ScanExclusiveBody< InputPortalType, OutputPortalType, BinaryOperationType >::OutputPortal

◆ Sum

template<class InputPortalType , class OutputPortalType , class BinaryOperationType >
ValueType vtkm::cont::tbb::ScanExclusiveBody< InputPortalType, OutputPortalType, BinaryOperationType >::Sum

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