VTK-m  1.8
Public Member Functions | Static Public Member Functions | List of all members
vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagTBB > Struct Reference

#include <DeviceAdapterAlgorithmTBB.h>

Inheritance diagram for vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagTBB >:

Public Member Functions

return Reduce (input, initialValue, vtkm::Add())
 

Static Public Member Functions

template<typename T , typename U , class CIn , class COut >
static VTKM_CONT void Copy (const vtkm::cont::ArrayHandle< T, CIn > &input, vtkm::cont::ArrayHandle< U, COut > &output)
 
template<typename T , typename U , class CIn , class CStencil , class COut >
static VTKM_CONT void CopyIf (const vtkm::cont::ArrayHandle< T, CIn > &input, const vtkm::cont::ArrayHandle< U, CStencil > &stencil, vtkm::cont::ArrayHandle< T, COut > &output)
 
template<typename T , typename U , class CIn , class CStencil , class COut , class UnaryPredicate >
static VTKM_CONT void CopyIf (const vtkm::cont::ArrayHandle< T, CIn > &input, const vtkm::cont::ArrayHandle< U, CStencil > &stencil, vtkm::cont::ArrayHandle< T, COut > &output, UnaryPredicate unary_predicate)
 
template<typename T , typename U , class CIn , class COut >
static VTKM_CONT bool CopySubRange (const vtkm::cont::ArrayHandle< T, CIn > &input, vtkm::Id inputStartIndex, vtkm::Id numberOfElementsToCopy, vtkm::cont::ArrayHandle< U, COut > &output, vtkm::Id outputIndex=0)
 
template<typename T , typename U , class CIn >
static VTKM_CONT auto Reduce (const vtkm::cont::ArrayHandle< T, CIn > &input, U initialValue) -> decltype(Reduce(input, initialValue, vtkm::Add
 
template<typename T , typename U , class CIn , class BinaryFunctor >
static VTKM_CONT auto Reduce (const vtkm::cont::ArrayHandle< T, CIn > &input, U initialValue, BinaryFunctor binary_functor) -> decltype(tbb::ReducePortals(input.ReadPortal(), initialValue, binary_functor))
 
template<typename T , typename U , class CKeyIn , class CValIn , class CKeyOut , class CValOut , class BinaryFunctor >
static VTKM_CONT void ReduceByKey (const vtkm::cont::ArrayHandle< T, CKeyIn > &keys, const vtkm::cont::ArrayHandle< U, CValIn > &values, vtkm::cont::ArrayHandle< T, CKeyOut > &keys_output, vtkm::cont::ArrayHandle< U, CValOut > &values_output, BinaryFunctor binary_functor)
 
template<typename T , class CIn , class COut >
static VTKM_CONTScanInclusive (const vtkm::cont::ArrayHandle< T, CIn > &input, vtkm::cont::ArrayHandle< T, COut > &output)
 
template<typename T , class CIn , class COut , class BinaryFunctor >
static VTKM_CONTScanInclusive (const vtkm::cont::ArrayHandle< T, CIn > &input, vtkm::cont::ArrayHandle< T, COut > &output, BinaryFunctor binary_functor)
 
template<typename T , class CIn , class COut >
static VTKM_CONTScanExclusive (const vtkm::cont::ArrayHandle< T, CIn > &input, vtkm::cont::ArrayHandle< T, COut > &output)
 
template<typename T , class CIn , class COut , class BinaryFunctor >
static VTKM_CONTScanExclusive (const vtkm::cont::ArrayHandle< T, CIn > &input, vtkm::cont::ArrayHandle< T, COut > &output, BinaryFunctor binary_functor, const T &initialValue)
 
static VTKM_CONT_EXPORT void ScheduleTask (vtkm::exec::tbb::internal::TaskTiling1D &functor, vtkm::Id size)
 
static VTKM_CONT_EXPORT void ScheduleTask (vtkm::exec::tbb::internal::TaskTiling3D &functor, vtkm::Id3 size)
 
template<class FunctorType >
static VTKM_CONT void Schedule (FunctorType functor, vtkm::Id numInstances)
 
template<class FunctorType >
static VTKM_CONT void Schedule (FunctorType functor, vtkm::Id3 rangeMax)
 
template<typename T , class Container >
static VTKM_CONT void Sort (vtkm::cont::ArrayHandle< T, Container > &values)
 
template<typename T , class Container , class BinaryCompare >
static VTKM_CONT void Sort (vtkm::cont::ArrayHandle< T, Container > &values, BinaryCompare binary_compare)
 
template<typename T , typename U , class StorageT , class StorageU >
static VTKM_CONT void SortByKey (vtkm::cont::ArrayHandle< T, StorageT > &keys, vtkm::cont::ArrayHandle< U, StorageU > &values)
 
template<typename T , typename U , class StorageT , class StorageU , class BinaryCompare >
static VTKM_CONT void SortByKey (vtkm::cont::ArrayHandle< T, StorageT > &keys, vtkm::cont::ArrayHandle< U, StorageU > &values, BinaryCompare binary_compare)
 
template<typename T , class Storage >
static VTKM_CONT void Unique (vtkm::cont::ArrayHandle< T, Storage > &values)
 
template<typename T , class Storage , class BinaryCompare >
static VTKM_CONT void Unique (vtkm::cont::ArrayHandle< T, Storage > &values, BinaryCompare binary_compare)
 
static VTKM_CONT void Synchronize ()
 

Member Function Documentation

◆ Copy()

template<typename T , typename U , class CIn , class COut >
static VTKM_CONT void vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagTBB >::Copy ( const vtkm::cont::ArrayHandle< T, CIn > &  input,
vtkm::cont::ArrayHandle< U, COut > &  output 
)
inlinestatic

◆ CopyIf() [1/2]

template<typename T , typename U , class CIn , class CStencil , class COut >
static VTKM_CONT void vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagTBB >::CopyIf ( const vtkm::cont::ArrayHandle< T, CIn > &  input,
const vtkm::cont::ArrayHandle< U, CStencil > &  stencil,
vtkm::cont::ArrayHandle< T, COut > &  output 
)
inlinestatic

◆ CopyIf() [2/2]

template<typename T , typename U , class CIn , class CStencil , class COut , class UnaryPredicate >
static VTKM_CONT void vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagTBB >::CopyIf ( const vtkm::cont::ArrayHandle< T, CIn > &  input,
const vtkm::cont::ArrayHandle< U, CStencil > &  stencil,
vtkm::cont::ArrayHandle< T, COut > &  output,
UnaryPredicate  unary_predicate 
)
inlinestatic

◆ CopySubRange()

template<typename T , typename U , class CIn , class COut >
static VTKM_CONT bool vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagTBB >::CopySubRange ( const vtkm::cont::ArrayHandle< T, CIn > &  input,
vtkm::Id  inputStartIndex,
vtkm::Id  numberOfElementsToCopy,
vtkm::cont::ArrayHandle< U, COut > &  output,
vtkm::Id  outputIndex = 0 
)
inlinestatic

◆ Reduce() [1/3]

template<typename T , typename U , class CIn >
static VTKM_CONT auto vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagTBB >::Reduce ( const vtkm::cont::ArrayHandle< T, CIn > &  input,
U  initialValue 
) -> decltype(Reduce(input, initialValue, vtkm::Add
inlinestatic

◆ Reduce() [2/3]

template<typename T , typename U , class CIn , class BinaryFunctor >
static VTKM_CONT auto vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagTBB >::Reduce ( const vtkm::cont::ArrayHandle< T, CIn > &  input,
U  initialValue,
BinaryFunctor  binary_functor 
) -> decltype(tbb::ReducePortals(input.ReadPortal(), initialValue, binary_functor))
inlinestatic

◆ Reduce() [3/3]

return vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagTBB >::Reduce ( input  ,
initialValue  ,
vtkm::Add()   
)

◆ ReduceByKey()

template<typename T , typename U , class CKeyIn , class CValIn , class CKeyOut , class CValOut , class BinaryFunctor >
static VTKM_CONT void vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagTBB >::ReduceByKey ( const vtkm::cont::ArrayHandle< T, CKeyIn > &  keys,
const vtkm::cont::ArrayHandle< U, CValIn > &  values,
vtkm::cont::ArrayHandle< T, CKeyOut > &  keys_output,
vtkm::cont::ArrayHandle< U, CValOut > &  values_output,
BinaryFunctor  binary_functor 
)
inlinestatic

◆ ScanExclusive() [1/2]

template<typename T , class CIn , class COut >
static VTKM_CONT T vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagTBB >::ScanExclusive ( const vtkm::cont::ArrayHandle< T, CIn > &  input,
vtkm::cont::ArrayHandle< T, COut > &  output 
)
inlinestatic

◆ ScanExclusive() [2/2]

template<typename T , class CIn , class COut , class BinaryFunctor >
static VTKM_CONT T vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagTBB >::ScanExclusive ( const vtkm::cont::ArrayHandle< T, CIn > &  input,
vtkm::cont::ArrayHandle< T, COut > &  output,
BinaryFunctor  binary_functor,
const T &  initialValue 
)
inlinestatic

◆ ScanInclusive() [1/2]

template<typename T , class CIn , class COut >
static VTKM_CONT T vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagTBB >::ScanInclusive ( const vtkm::cont::ArrayHandle< T, CIn > &  input,
vtkm::cont::ArrayHandle< T, COut > &  output 
)
inlinestatic

◆ ScanInclusive() [2/2]

template<typename T , class CIn , class COut , class BinaryFunctor >
static VTKM_CONT T vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagTBB >::ScanInclusive ( const vtkm::cont::ArrayHandle< T, CIn > &  input,
vtkm::cont::ArrayHandle< T, COut > &  output,
BinaryFunctor  binary_functor 
)
inlinestatic

◆ Schedule() [1/2]

template<class FunctorType >
static VTKM_CONT void vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagTBB >::Schedule ( FunctorType  functor,
vtkm::Id  numInstances 
)
inlinestatic

◆ Schedule() [2/2]

template<class FunctorType >
static VTKM_CONT void vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagTBB >::Schedule ( FunctorType  functor,
vtkm::Id3  rangeMax 
)
inlinestatic

◆ ScheduleTask() [1/2]

static VTKM_CONT_EXPORT void vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagTBB >::ScheduleTask ( vtkm::exec::tbb::internal::TaskTiling1D &  functor,
vtkm::Id  size 
)
static

◆ ScheduleTask() [2/2]

static VTKM_CONT_EXPORT void vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagTBB >::ScheduleTask ( vtkm::exec::tbb::internal::TaskTiling3D &  functor,
vtkm::Id3  size 
)
static

◆ Sort() [1/2]

template<typename T , class Container >
static VTKM_CONT void vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagTBB >::Sort ( vtkm::cont::ArrayHandle< T, Container > &  values)
inlinestatic

◆ Sort() [2/2]

template<typename T , class Container , class BinaryCompare >
static VTKM_CONT void vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagTBB >::Sort ( vtkm::cont::ArrayHandle< T, Container > &  values,
BinaryCompare  binary_compare 
)
inlinestatic

◆ SortByKey() [1/2]

template<typename T , typename U , class StorageT , class StorageU >
static VTKM_CONT void vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagTBB >::SortByKey ( vtkm::cont::ArrayHandle< T, StorageT > &  keys,
vtkm::cont::ArrayHandle< U, StorageU > &  values 
)
inlinestatic

◆ SortByKey() [2/2]

template<typename T , typename U , class StorageT , class StorageU , class BinaryCompare >
static VTKM_CONT void vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagTBB >::SortByKey ( vtkm::cont::ArrayHandle< T, StorageT > &  keys,
vtkm::cont::ArrayHandle< U, StorageU > &  values,
BinaryCompare  binary_compare 
)
inlinestatic

◆ Synchronize()

static VTKM_CONT void vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagTBB >::Synchronize ( )
inlinestatic

◆ Unique() [1/2]

template<typename T , class Storage >
static VTKM_CONT void vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagTBB >::Unique ( vtkm::cont::ArrayHandle< T, Storage > &  values)
inlinestatic

◆ Unique() [2/2]

template<typename T , class Storage , class BinaryCompare >
static VTKM_CONT void vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagTBB >::Unique ( vtkm::cont::ArrayHandle< T, Storage > &  values,
BinaryCompare  binary_compare 
)
inlinestatic

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