VTK-m  2.2
Static Public Member Functions | List of all members
vtkm::cont::Algorithm Struct Reference

#include <Algorithm.h>

Static Public Member Functions

template<typename IndicesStorage >
static vtkm::Id BitFieldToUnorderedSet (vtkm::cont::DeviceAdapterId devId, const vtkm::cont::BitField &bits, vtkm::cont::ArrayHandle< Id, IndicesStorage > &indices)
 
template<typename IndicesStorage >
static vtkm::Id BitFieldToUnorderedSet (const vtkm::cont::BitField &bits, vtkm::cont::ArrayHandle< Id, IndicesStorage > &indices)
 
template<typename T , typename U , class CIn , class COut >
static bool Copy (vtkm::cont::DeviceAdapterId devId, const vtkm::cont::ArrayHandle< T, CIn > &input, vtkm::cont::ArrayHandle< U, COut > &output)
 
template<typename T , typename U , class CIn , class COut >
static 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 void CopyIf (vtkm::cont::DeviceAdapterId devId, 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 >
static 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 void CopyIf (vtkm::cont::DeviceAdapterId devId, 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 CStencil , class COut , class UnaryPredicate >
static 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 bool CopySubRange (vtkm::cont::DeviceAdapterId devId, 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 , class COut >
static 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)
 
static vtkm::Id CountSetBits (vtkm::cont::DeviceAdapterId devId, const vtkm::cont::BitField &bits)
 
static vtkm::Id CountSetBits (const vtkm::cont::BitField &bits)
 
static void Fill (vtkm::cont::DeviceAdapterId devId, vtkm::cont::BitField &bits, bool value, vtkm::Id numBits)
 
static void Fill (vtkm::cont::BitField &bits, bool value, vtkm::Id numBits)
 
static void Fill (vtkm::cont::DeviceAdapterId devId, vtkm::cont::BitField &bits, bool value)
 
static void Fill (vtkm::cont::BitField &bits, bool value)
 
template<typename WordType >
static void Fill (vtkm::cont::DeviceAdapterId devId, vtkm::cont::BitField &bits, WordType word, vtkm::Id numBits)
 
template<typename WordType >
static void Fill (vtkm::cont::BitField &bits, WordType word, vtkm::Id numBits)
 
template<typename WordType >
static void Fill (vtkm::cont::DeviceAdapterId devId, vtkm::cont::BitField &bits, WordType word)
 
template<typename WordType >
static void Fill (vtkm::cont::BitField &bits, WordType word)
 
template<typename T , typename S >
static void Fill (vtkm::cont::DeviceAdapterId devId, vtkm::cont::ArrayHandle< T, S > &handle, const T &value)
 
template<typename T , typename S >
static void Fill (vtkm::cont::ArrayHandle< T, S > &handle, const T &value)
 
template<typename T , typename S >
static void Fill (vtkm::cont::DeviceAdapterId devId, vtkm::cont::ArrayHandle< T, S > &handle, const T &value, const vtkm::Id numValues)
 
template<typename T , typename S >
static void Fill (vtkm::cont::ArrayHandle< T, S > &handle, const T &value, const vtkm::Id numValues)
 
template<typename T , class CIn , class CVal , class COut >
static void LowerBounds (vtkm::cont::DeviceAdapterId devId, const vtkm::cont::ArrayHandle< T, CIn > &input, const vtkm::cont::ArrayHandle< T, CVal > &values, vtkm::cont::ArrayHandle< vtkm::Id, COut > &output)
 
template<typename T , class CIn , class CVal , class COut >
static void LowerBounds (const vtkm::cont::ArrayHandle< T, CIn > &input, const vtkm::cont::ArrayHandle< T, CVal > &values, vtkm::cont::ArrayHandle< vtkm::Id, COut > &output)
 
template<typename T , class CIn , class CVal , class COut , class BinaryCompare >
static void LowerBounds (vtkm::cont::DeviceAdapterId devId, const vtkm::cont::ArrayHandle< T, CIn > &input, const vtkm::cont::ArrayHandle< T, CVal > &values, vtkm::cont::ArrayHandle< vtkm::Id, COut > &output, BinaryCompare binary_compare)
 
template<typename T , class CIn , class CVal , class COut , class BinaryCompare >
static void LowerBounds (const vtkm::cont::ArrayHandle< T, CIn > &input, const vtkm::cont::ArrayHandle< T, CVal > &values, vtkm::cont::ArrayHandle< vtkm::Id, COut > &output, BinaryCompare binary_compare)
 
template<class CIn , class COut >
static void LowerBounds (vtkm::cont::DeviceAdapterId devId, const vtkm::cont::ArrayHandle< vtkm::Id, CIn > &input, vtkm::cont::ArrayHandle< vtkm::Id, COut > &values_output)
 
template<class CIn , class COut >
static void LowerBounds (const vtkm::cont::ArrayHandle< vtkm::Id, CIn > &input, vtkm::cont::ArrayHandle< vtkm::Id, COut > &values_output)
 
template<typename T , typename U , class CIn >
static U Reduce (vtkm::cont::DeviceAdapterId devId, const vtkm::cont::ArrayHandle< T, CIn > &input, U initialValue)
 
template<typename T , typename U , class CIn >
static U Reduce (const vtkm::cont::ArrayHandle< T, CIn > &input, U initialValue)
 
template<typename T , typename U , class CIn , class BinaryFunctor >
static U Reduce (vtkm::cont::DeviceAdapterId devId, const vtkm::cont::ArrayHandle< T, CIn > &input, U initialValue, BinaryFunctor binary_functor)
 
template<typename T , typename U , class CIn , class BinaryFunctor >
static U Reduce (const vtkm::cont::ArrayHandle< T, CIn > &input, U initialValue, BinaryFunctor binary_functor)
 
template<typename T , typename U , class CKeyIn , class CValIn , class CKeyOut , class CValOut , class BinaryFunctor >
static void ReduceByKey (vtkm::cont::DeviceAdapterId devId, 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 , typename U , class CKeyIn , class CValIn , class CKeyOut , class CValOut , class BinaryFunctor >
static 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 T ScanInclusive (vtkm::cont::DeviceAdapterId devId, const vtkm::cont::ArrayHandle< T, CIn > &input, vtkm::cont::ArrayHandle< T, COut > &output)
 
template<typename T , class CIn , class COut >
static T ScanInclusive (const vtkm::cont::ArrayHandle< T, CIn > &input, vtkm::cont::ArrayHandle< T, COut > &output)
 
template<typename T , class CIn , class COut , class BinaryFunctor >
static T ScanInclusive (vtkm::cont::DeviceAdapterId devId, const vtkm::cont::ArrayHandle< T, CIn > &input, vtkm::cont::ArrayHandle< T, COut > &output, BinaryFunctor binary_functor)
 
template<typename T , class CIn , class COut , class BinaryFunctor >
static T ScanInclusive (const vtkm::cont::ArrayHandle< T, CIn > &input, vtkm::cont::ArrayHandle< T, COut > &output, BinaryFunctor binary_functor)
 
template<typename T , typename U , typename KIn , typename VIn , typename VOut , typename BinaryFunctor >
static void ScanInclusiveByKey (vtkm::cont::DeviceAdapterId devId, const vtkm::cont::ArrayHandle< T, KIn > &keys, const vtkm::cont::ArrayHandle< U, VIn > &values, vtkm::cont::ArrayHandle< U, VOut > &values_output, BinaryFunctor binary_functor)
 
template<typename T , typename U , typename KIn , typename VIn , typename VOut , typename BinaryFunctor >
static void ScanInclusiveByKey (const vtkm::cont::ArrayHandle< T, KIn > &keys, const vtkm::cont::ArrayHandle< U, VIn > &values, vtkm::cont::ArrayHandle< U, VOut > &values_output, BinaryFunctor binary_functor)
 
template<typename T , typename U , typename KIn , typename VIn , typename VOut >
static void ScanInclusiveByKey (vtkm::cont::DeviceAdapterId devId, const vtkm::cont::ArrayHandle< T, KIn > &keys, const vtkm::cont::ArrayHandle< U, VIn > &values, vtkm::cont::ArrayHandle< U, VOut > &values_output)
 
template<typename T , typename U , typename KIn , typename VIn , typename VOut >
static void ScanInclusiveByKey (const vtkm::cont::ArrayHandle< T, KIn > &keys, const vtkm::cont::ArrayHandle< U, VIn > &values, vtkm::cont::ArrayHandle< U, VOut > &values_output)
 
template<typename T , class CIn , class COut >
static T ScanExclusive (vtkm::cont::DeviceAdapterId devId, const vtkm::cont::ArrayHandle< T, CIn > &input, vtkm::cont::ArrayHandle< T, COut > &output)
 
template<typename T , class CIn , class COut >
static T ScanExclusive (const vtkm::cont::ArrayHandle< T, CIn > &input, vtkm::cont::ArrayHandle< T, COut > &output)
 
template<typename T , class CIn , class COut , class BinaryFunctor >
static T ScanExclusive (vtkm::cont::DeviceAdapterId devId, const vtkm::cont::ArrayHandle< T, CIn > &input, vtkm::cont::ArrayHandle< T, COut > &output, BinaryFunctor binaryFunctor, const T &initialValue)
 
template<typename T , class CIn , class COut , class BinaryFunctor >
static T ScanExclusive (const vtkm::cont::ArrayHandle< T, CIn > &input, vtkm::cont::ArrayHandle< T, COut > &output, BinaryFunctor binaryFunctor, const T &initialValue)
 
template<typename T , typename U , typename KIn , typename VIn , typename VOut , class BinaryFunctor >
static void ScanExclusiveByKey (vtkm::cont::DeviceAdapterId devId, const vtkm::cont::ArrayHandle< T, KIn > &keys, const vtkm::cont::ArrayHandle< U, VIn > &values, vtkm::cont::ArrayHandle< U, VOut > &output, const U &initialValue, BinaryFunctor binaryFunctor)
 
template<typename T , typename U , typename KIn , typename VIn , typename VOut , class BinaryFunctor >
static void ScanExclusiveByKey (const vtkm::cont::ArrayHandle< T, KIn > &keys, const vtkm::cont::ArrayHandle< U, VIn > &values, vtkm::cont::ArrayHandle< U, VOut > &output, const U &initialValue, BinaryFunctor binaryFunctor)
 
template<typename T , typename U , class KIn , typename VIn , typename VOut >
static void ScanExclusiveByKey (vtkm::cont::DeviceAdapterId devId, const vtkm::cont::ArrayHandle< T, KIn > &keys, const vtkm::cont::ArrayHandle< U, VIn > &values, vtkm::cont::ArrayHandle< U, VOut > &output)
 
template<typename T , typename U , class KIn , typename VIn , typename VOut >
static void ScanExclusiveByKey (const vtkm::cont::ArrayHandle< T, KIn > &keys, const vtkm::cont::ArrayHandle< U, VIn > &values, vtkm::cont::ArrayHandle< U, VOut > &output)
 
template<typename T , class CIn , class COut >
static void ScanExtended (vtkm::cont::DeviceAdapterId devId, const vtkm::cont::ArrayHandle< T, CIn > &input, vtkm::cont::ArrayHandle< T, COut > &output)
 
template<typename T , class CIn , class COut >
static void ScanExtended (const vtkm::cont::ArrayHandle< T, CIn > &input, vtkm::cont::ArrayHandle< T, COut > &output)
 
template<typename T , class CIn , class COut , class BinaryFunctor >
static void ScanExtended (vtkm::cont::DeviceAdapterId devId, const vtkm::cont::ArrayHandle< T, CIn > &input, vtkm::cont::ArrayHandle< T, COut > &output, BinaryFunctor binaryFunctor, const T &initialValue)
 
template<typename T , class CIn , class COut , class BinaryFunctor >
static void ScanExtended (const vtkm::cont::ArrayHandle< T, CIn > &input, vtkm::cont::ArrayHandle< T, COut > &output, BinaryFunctor binaryFunctor, const T &initialValue)
 
template<typename Functor >
static void Schedule (vtkm::cont::DeviceAdapterId devId, Functor functor, vtkm::Id numInstances)
 
template<typename... Hints, typename Functor >
static void Schedule (vtkm::cont::internal::HintList< Hints... > hints, Functor functor, vtkm::Id numInstances)
 
template<typename Functor >
static void Schedule (Functor functor, vtkm::Id numInstances)
 
template<typename Functor >
static void Schedule (vtkm::cont::DeviceAdapterId devId, Functor functor, vtkm::Id3 rangeMax)
 
template<typename... Hints, typename Functor >
static void Schedule (vtkm::cont::internal::HintList< Hints... > hints, Functor functor, vtkm::Id3 rangeMax)
 
template<typename Functor >
static void Schedule (Functor functor, vtkm::Id3 rangeMax)
 
template<typename T , class Storage >
static void Sort (vtkm::cont::DeviceAdapterId devId, vtkm::cont::ArrayHandle< T, Storage > &values)
 
template<typename T , class Storage >
static void Sort (vtkm::cont::ArrayHandle< T, Storage > &values)
 
template<typename T , class Storage , class BinaryCompare >
static void Sort (vtkm::cont::DeviceAdapterId devId, vtkm::cont::ArrayHandle< T, Storage > &values, BinaryCompare binary_compare)
 
template<typename T , class Storage , class BinaryCompare >
static void Sort (vtkm::cont::ArrayHandle< T, Storage > &values, BinaryCompare binary_compare)
 
template<typename T , typename U , class StorageT , class StorageU >
static void SortByKey (vtkm::cont::DeviceAdapterId devId, vtkm::cont::ArrayHandle< T, StorageT > &keys, vtkm::cont::ArrayHandle< U, StorageU > &values)
 
template<typename T , typename U , class StorageT , class StorageU >
static 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 void SortByKey (vtkm::cont::DeviceAdapterId devId, vtkm::cont::ArrayHandle< T, StorageT > &keys, vtkm::cont::ArrayHandle< U, StorageU > &values, BinaryCompare binary_compare)
 
template<typename T , typename U , class StorageT , class StorageU , class BinaryCompare >
static void SortByKey (vtkm::cont::ArrayHandle< T, StorageT > &keys, vtkm::cont::ArrayHandle< U, StorageU > &values, BinaryCompare binary_compare)
 
static void Synchronize (vtkm::cont::DeviceAdapterId devId)
 
static void Synchronize ()
 
template<typename T , typename U , typename V , typename StorageT , typename StorageU , typename StorageV , typename BinaryFunctor >
static void Transform (vtkm::cont::DeviceAdapterId devId, const vtkm::cont::ArrayHandle< T, StorageT > &input1, const vtkm::cont::ArrayHandle< U, StorageU > &input2, vtkm::cont::ArrayHandle< V, StorageV > &output, BinaryFunctor binaryFunctor)
 
template<typename T , typename U , typename V , typename StorageT , typename StorageU , typename StorageV , typename BinaryFunctor >
static void Transform (const vtkm::cont::ArrayHandle< T, StorageT > &input1, const vtkm::cont::ArrayHandle< U, StorageU > &input2, vtkm::cont::ArrayHandle< V, StorageV > &output, BinaryFunctor binaryFunctor)
 
template<typename T , class Storage >
static void Unique (vtkm::cont::DeviceAdapterId devId, vtkm::cont::ArrayHandle< T, Storage > &values)
 
template<typename T , class Storage >
static void Unique (vtkm::cont::ArrayHandle< T, Storage > &values)
 
template<typename T , class Storage , class BinaryCompare >
static void Unique (vtkm::cont::DeviceAdapterId devId, vtkm::cont::ArrayHandle< T, Storage > &values, BinaryCompare binary_compare)
 
template<typename T , class Storage , class BinaryCompare >
static void Unique (vtkm::cont::ArrayHandle< T, Storage > &values, BinaryCompare binary_compare)
 
template<typename T , class CIn , class CVal , class COut >
static void UpperBounds (vtkm::cont::DeviceAdapterId devId, const vtkm::cont::ArrayHandle< T, CIn > &input, const vtkm::cont::ArrayHandle< T, CVal > &values, vtkm::cont::ArrayHandle< vtkm::Id, COut > &output)
 
template<typename T , class CIn , class CVal , class COut >
static void UpperBounds (const vtkm::cont::ArrayHandle< T, CIn > &input, const vtkm::cont::ArrayHandle< T, CVal > &values, vtkm::cont::ArrayHandle< vtkm::Id, COut > &output)
 
template<typename T , class CIn , class CVal , class COut , class BinaryCompare >
static void UpperBounds (vtkm::cont::DeviceAdapterId devId, const vtkm::cont::ArrayHandle< T, CIn > &input, const vtkm::cont::ArrayHandle< T, CVal > &values, vtkm::cont::ArrayHandle< vtkm::Id, COut > &output, BinaryCompare binary_compare)
 
template<typename T , class CIn , class CVal , class COut , class BinaryCompare >
static void UpperBounds (const vtkm::cont::ArrayHandle< T, CIn > &input, const vtkm::cont::ArrayHandle< T, CVal > &values, vtkm::cont::ArrayHandle< vtkm::Id, COut > &output, BinaryCompare binary_compare)
 
template<class CIn , class COut >
static void UpperBounds (vtkm::cont::DeviceAdapterId devId, const vtkm::cont::ArrayHandle< vtkm::Id, CIn > &input, vtkm::cont::ArrayHandle< vtkm::Id, COut > &values_output)
 
template<class CIn , class COut >
static void UpperBounds (const vtkm::cont::ArrayHandle< vtkm::Id, CIn > &input, vtkm::cont::ArrayHandle< vtkm::Id, COut > &values_output)
 

Member Function Documentation

◆ BitFieldToUnorderedSet() [1/2]

template<typename IndicesStorage >
static vtkm::Id vtkm::cont::Algorithm::BitFieldToUnorderedSet ( const vtkm::cont::BitField bits,
vtkm::cont::ArrayHandle< Id, IndicesStorage > &  indices 
)
inlinestatic

◆ BitFieldToUnorderedSet() [2/2]

template<typename IndicesStorage >
static vtkm::Id vtkm::cont::Algorithm::BitFieldToUnorderedSet ( vtkm::cont::DeviceAdapterId  devId,
const vtkm::cont::BitField bits,
vtkm::cont::ArrayHandle< Id, IndicesStorage > &  indices 
)
inlinestatic

◆ Copy() [1/2]

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

◆ Copy() [2/2]

template<typename T , typename U , class CIn , class COut >
static bool vtkm::cont::Algorithm::Copy ( vtkm::cont::DeviceAdapterId  devId,
const vtkm::cont::ArrayHandle< T, CIn > &  input,
vtkm::cont::ArrayHandle< U, COut > &  output 
)
inlinestatic

◆ CopyIf() [1/4]

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

◆ CopyIf() [2/4]

template<typename T , typename U , class CIn , class CStencil , class COut , class UnaryPredicate >
static void vtkm::cont::Algorithm::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

◆ CopyIf() [3/4]

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

◆ CopyIf() [4/4]

template<typename T , typename U , class CIn , class CStencil , class COut , class UnaryPredicate >
static void vtkm::cont::Algorithm::CopyIf ( vtkm::cont::DeviceAdapterId  devId,
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() [1/2]

template<typename T , typename U , class CIn , class COut >
static bool vtkm::cont::Algorithm::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

◆ CopySubRange() [2/2]

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

◆ CountSetBits() [1/2]

static vtkm::Id vtkm::cont::Algorithm::CountSetBits ( const vtkm::cont::BitField bits)
inlinestatic

◆ CountSetBits() [2/2]

static vtkm::Id vtkm::cont::Algorithm::CountSetBits ( vtkm::cont::DeviceAdapterId  devId,
const vtkm::cont::BitField bits 
)
inlinestatic

◆ Fill() [1/12]

template<typename T , typename S >
static void vtkm::cont::Algorithm::Fill ( vtkm::cont::ArrayHandle< T, S > &  handle,
const T &  value 
)
inlinestatic

◆ Fill() [2/12]

template<typename T , typename S >
static void vtkm::cont::Algorithm::Fill ( vtkm::cont::ArrayHandle< T, S > &  handle,
const T &  value,
const vtkm::Id  numValues 
)
inlinestatic

◆ Fill() [3/12]

static void vtkm::cont::Algorithm::Fill ( vtkm::cont::BitField bits,
bool  value 
)
inlinestatic

◆ Fill() [4/12]

static void vtkm::cont::Algorithm::Fill ( vtkm::cont::BitField bits,
bool  value,
vtkm::Id  numBits 
)
inlinestatic

◆ Fill() [5/12]

template<typename WordType >
static void vtkm::cont::Algorithm::Fill ( vtkm::cont::BitField bits,
WordType  word 
)
inlinestatic

◆ Fill() [6/12]

template<typename WordType >
static void vtkm::cont::Algorithm::Fill ( vtkm::cont::BitField bits,
WordType  word,
vtkm::Id  numBits 
)
inlinestatic

◆ Fill() [7/12]

template<typename T , typename S >
static void vtkm::cont::Algorithm::Fill ( vtkm::cont::DeviceAdapterId  devId,
vtkm::cont::ArrayHandle< T, S > &  handle,
const T &  value 
)
inlinestatic

◆ Fill() [8/12]

template<typename T , typename S >
static void vtkm::cont::Algorithm::Fill ( vtkm::cont::DeviceAdapterId  devId,
vtkm::cont::ArrayHandle< T, S > &  handle,
const T &  value,
const vtkm::Id  numValues 
)
inlinestatic

◆ Fill() [9/12]

static void vtkm::cont::Algorithm::Fill ( vtkm::cont::DeviceAdapterId  devId,
vtkm::cont::BitField bits,
bool  value 
)
inlinestatic

◆ Fill() [10/12]

static void vtkm::cont::Algorithm::Fill ( vtkm::cont::DeviceAdapterId  devId,
vtkm::cont::BitField bits,
bool  value,
vtkm::Id  numBits 
)
inlinestatic

◆ Fill() [11/12]

template<typename WordType >
static void vtkm::cont::Algorithm::Fill ( vtkm::cont::DeviceAdapterId  devId,
vtkm::cont::BitField bits,
WordType  word 
)
inlinestatic

◆ Fill() [12/12]

template<typename WordType >
static void vtkm::cont::Algorithm::Fill ( vtkm::cont::DeviceAdapterId  devId,
vtkm::cont::BitField bits,
WordType  word,
vtkm::Id  numBits 
)
inlinestatic

◆ LowerBounds() [1/6]

template<typename T , class CIn , class CVal , class COut >
static void vtkm::cont::Algorithm::LowerBounds ( const vtkm::cont::ArrayHandle< T, CIn > &  input,
const vtkm::cont::ArrayHandle< T, CVal > &  values,
vtkm::cont::ArrayHandle< vtkm::Id, COut > &  output 
)
inlinestatic

◆ LowerBounds() [2/6]

template<typename T , class CIn , class CVal , class COut , class BinaryCompare >
static void vtkm::cont::Algorithm::LowerBounds ( const vtkm::cont::ArrayHandle< T, CIn > &  input,
const vtkm::cont::ArrayHandle< T, CVal > &  values,
vtkm::cont::ArrayHandle< vtkm::Id, COut > &  output,
BinaryCompare  binary_compare 
)
inlinestatic

◆ LowerBounds() [3/6]

template<class CIn , class COut >
static void vtkm::cont::Algorithm::LowerBounds ( const vtkm::cont::ArrayHandle< vtkm::Id, CIn > &  input,
vtkm::cont::ArrayHandle< vtkm::Id, COut > &  values_output 
)
inlinestatic

◆ LowerBounds() [4/6]

template<typename T , class CIn , class CVal , class COut >
static void vtkm::cont::Algorithm::LowerBounds ( vtkm::cont::DeviceAdapterId  devId,
const vtkm::cont::ArrayHandle< T, CIn > &  input,
const vtkm::cont::ArrayHandle< T, CVal > &  values,
vtkm::cont::ArrayHandle< vtkm::Id, COut > &  output 
)
inlinestatic

◆ LowerBounds() [5/6]

template<typename T , class CIn , class CVal , class COut , class BinaryCompare >
static void vtkm::cont::Algorithm::LowerBounds ( vtkm::cont::DeviceAdapterId  devId,
const vtkm::cont::ArrayHandle< T, CIn > &  input,
const vtkm::cont::ArrayHandle< T, CVal > &  values,
vtkm::cont::ArrayHandle< vtkm::Id, COut > &  output,
BinaryCompare  binary_compare 
)
inlinestatic

◆ LowerBounds() [6/6]

template<class CIn , class COut >
static void vtkm::cont::Algorithm::LowerBounds ( vtkm::cont::DeviceAdapterId  devId,
const vtkm::cont::ArrayHandle< vtkm::Id, CIn > &  input,
vtkm::cont::ArrayHandle< vtkm::Id, COut > &  values_output 
)
inlinestatic

◆ Reduce() [1/4]

template<typename T , typename U , class CIn >
static U vtkm::cont::Algorithm::Reduce ( const vtkm::cont::ArrayHandle< T, CIn > &  input,
initialValue 
)
inlinestatic

◆ Reduce() [2/4]

template<typename T , typename U , class CIn , class BinaryFunctor >
static U vtkm::cont::Algorithm::Reduce ( const vtkm::cont::ArrayHandle< T, CIn > &  input,
initialValue,
BinaryFunctor  binary_functor 
)
inlinestatic

◆ Reduce() [3/4]

template<typename T , typename U , class CIn >
static U vtkm::cont::Algorithm::Reduce ( vtkm::cont::DeviceAdapterId  devId,
const vtkm::cont::ArrayHandle< T, CIn > &  input,
initialValue 
)
inlinestatic

◆ Reduce() [4/4]

template<typename T , typename U , class CIn , class BinaryFunctor >
static U vtkm::cont::Algorithm::Reduce ( vtkm::cont::DeviceAdapterId  devId,
const vtkm::cont::ArrayHandle< T, CIn > &  input,
initialValue,
BinaryFunctor  binary_functor 
)
inlinestatic

◆ ReduceByKey() [1/2]

template<typename T , typename U , class CKeyIn , class CValIn , class CKeyOut , class CValOut , class BinaryFunctor >
static void vtkm::cont::Algorithm::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

◆ ReduceByKey() [2/2]

template<typename T , typename U , class CKeyIn , class CValIn , class CKeyOut , class CValOut , class BinaryFunctor >
static void vtkm::cont::Algorithm::ReduceByKey ( vtkm::cont::DeviceAdapterId  devId,
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/4]

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

◆ ScanExclusive() [2/4]

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

◆ ScanExclusive() [3/4]

template<typename T , class CIn , class COut >
static T vtkm::cont::Algorithm::ScanExclusive ( vtkm::cont::DeviceAdapterId  devId,
const vtkm::cont::ArrayHandle< T, CIn > &  input,
vtkm::cont::ArrayHandle< T, COut > &  output 
)
inlinestatic

◆ ScanExclusive() [4/4]

template<typename T , class CIn , class COut , class BinaryFunctor >
static T vtkm::cont::Algorithm::ScanExclusive ( vtkm::cont::DeviceAdapterId  devId,
const vtkm::cont::ArrayHandle< T, CIn > &  input,
vtkm::cont::ArrayHandle< T, COut > &  output,
BinaryFunctor  binaryFunctor,
const T &  initialValue 
)
inlinestatic

◆ ScanExclusiveByKey() [1/4]

template<typename T , typename U , class KIn , typename VIn , typename VOut >
static void vtkm::cont::Algorithm::ScanExclusiveByKey ( const vtkm::cont::ArrayHandle< T, KIn > &  keys,
const vtkm::cont::ArrayHandle< U, VIn > &  values,
vtkm::cont::ArrayHandle< U, VOut > &  output 
)
inlinestatic

◆ ScanExclusiveByKey() [2/4]

template<typename T , typename U , typename KIn , typename VIn , typename VOut , class BinaryFunctor >
static void vtkm::cont::Algorithm::ScanExclusiveByKey ( const vtkm::cont::ArrayHandle< T, KIn > &  keys,
const vtkm::cont::ArrayHandle< U, VIn > &  values,
vtkm::cont::ArrayHandle< U, VOut > &  output,
const U &  initialValue,
BinaryFunctor  binaryFunctor 
)
inlinestatic

◆ ScanExclusiveByKey() [3/4]

template<typename T , typename U , class KIn , typename VIn , typename VOut >
static void vtkm::cont::Algorithm::ScanExclusiveByKey ( vtkm::cont::DeviceAdapterId  devId,
const vtkm::cont::ArrayHandle< T, KIn > &  keys,
const vtkm::cont::ArrayHandle< U, VIn > &  values,
vtkm::cont::ArrayHandle< U, VOut > &  output 
)
inlinestatic

◆ ScanExclusiveByKey() [4/4]

template<typename T , typename U , typename KIn , typename VIn , typename VOut , class BinaryFunctor >
static void vtkm::cont::Algorithm::ScanExclusiveByKey ( vtkm::cont::DeviceAdapterId  devId,
const vtkm::cont::ArrayHandle< T, KIn > &  keys,
const vtkm::cont::ArrayHandle< U, VIn > &  values,
vtkm::cont::ArrayHandle< U, VOut > &  output,
const U &  initialValue,
BinaryFunctor  binaryFunctor 
)
inlinestatic

◆ ScanExtended() [1/4]

template<typename T , class CIn , class COut >
static void vtkm::cont::Algorithm::ScanExtended ( const vtkm::cont::ArrayHandle< T, CIn > &  input,
vtkm::cont::ArrayHandle< T, COut > &  output 
)
inlinestatic

◆ ScanExtended() [2/4]

template<typename T , class CIn , class COut , class BinaryFunctor >
static void vtkm::cont::Algorithm::ScanExtended ( const vtkm::cont::ArrayHandle< T, CIn > &  input,
vtkm::cont::ArrayHandle< T, COut > &  output,
BinaryFunctor  binaryFunctor,
const T &  initialValue 
)
inlinestatic

◆ ScanExtended() [3/4]

template<typename T , class CIn , class COut >
static void vtkm::cont::Algorithm::ScanExtended ( vtkm::cont::DeviceAdapterId  devId,
const vtkm::cont::ArrayHandle< T, CIn > &  input,
vtkm::cont::ArrayHandle< T, COut > &  output 
)
inlinestatic

◆ ScanExtended() [4/4]

template<typename T , class CIn , class COut , class BinaryFunctor >
static void vtkm::cont::Algorithm::ScanExtended ( vtkm::cont::DeviceAdapterId  devId,
const vtkm::cont::ArrayHandle< T, CIn > &  input,
vtkm::cont::ArrayHandle< T, COut > &  output,
BinaryFunctor  binaryFunctor,
const T &  initialValue 
)
inlinestatic

◆ ScanInclusive() [1/4]

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

◆ ScanInclusive() [2/4]

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

◆ ScanInclusive() [3/4]

template<typename T , class CIn , class COut >
static T vtkm::cont::Algorithm::ScanInclusive ( vtkm::cont::DeviceAdapterId  devId,
const vtkm::cont::ArrayHandle< T, CIn > &  input,
vtkm::cont::ArrayHandle< T, COut > &  output 
)
inlinestatic

◆ ScanInclusive() [4/4]

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

◆ ScanInclusiveByKey() [1/4]

template<typename T , typename U , typename KIn , typename VIn , typename VOut >
static void vtkm::cont::Algorithm::ScanInclusiveByKey ( const vtkm::cont::ArrayHandle< T, KIn > &  keys,
const vtkm::cont::ArrayHandle< U, VIn > &  values,
vtkm::cont::ArrayHandle< U, VOut > &  values_output 
)
inlinestatic

◆ ScanInclusiveByKey() [2/4]

template<typename T , typename U , typename KIn , typename VIn , typename VOut , typename BinaryFunctor >
static void vtkm::cont::Algorithm::ScanInclusiveByKey ( const vtkm::cont::ArrayHandle< T, KIn > &  keys,
const vtkm::cont::ArrayHandle< U, VIn > &  values,
vtkm::cont::ArrayHandle< U, VOut > &  values_output,
BinaryFunctor  binary_functor 
)
inlinestatic

◆ ScanInclusiveByKey() [3/4]

template<typename T , typename U , typename KIn , typename VIn , typename VOut >
static void vtkm::cont::Algorithm::ScanInclusiveByKey ( vtkm::cont::DeviceAdapterId  devId,
const vtkm::cont::ArrayHandle< T, KIn > &  keys,
const vtkm::cont::ArrayHandle< U, VIn > &  values,
vtkm::cont::ArrayHandle< U, VOut > &  values_output 
)
inlinestatic

◆ ScanInclusiveByKey() [4/4]

template<typename T , typename U , typename KIn , typename VIn , typename VOut , typename BinaryFunctor >
static void vtkm::cont::Algorithm::ScanInclusiveByKey ( vtkm::cont::DeviceAdapterId  devId,
const vtkm::cont::ArrayHandle< T, KIn > &  keys,
const vtkm::cont::ArrayHandle< U, VIn > &  values,
vtkm::cont::ArrayHandle< U, VOut > &  values_output,
BinaryFunctor  binary_functor 
)
inlinestatic

◆ Schedule() [1/6]

template<typename Functor >
static void vtkm::cont::Algorithm::Schedule ( Functor  functor,
vtkm::Id  numInstances 
)
inlinestatic

◆ Schedule() [2/6]

template<typename Functor >
static void vtkm::cont::Algorithm::Schedule ( Functor  functor,
vtkm::Id3  rangeMax 
)
inlinestatic

◆ Schedule() [3/6]

template<typename Functor >
static void vtkm::cont::Algorithm::Schedule ( vtkm::cont::DeviceAdapterId  devId,
Functor  functor,
vtkm::Id  numInstances 
)
inlinestatic

◆ Schedule() [4/6]

template<typename Functor >
static void vtkm::cont::Algorithm::Schedule ( vtkm::cont::DeviceAdapterId  devId,
Functor  functor,
vtkm::Id3  rangeMax 
)
inlinestatic

◆ Schedule() [5/6]

template<typename... Hints, typename Functor >
static void vtkm::cont::Algorithm::Schedule ( vtkm::cont::internal::HintList< Hints... >  hints,
Functor  functor,
vtkm::Id  numInstances 
)
inlinestatic

◆ Schedule() [6/6]

template<typename... Hints, typename Functor >
static void vtkm::cont::Algorithm::Schedule ( vtkm::cont::internal::HintList< Hints... >  hints,
Functor  functor,
vtkm::Id3  rangeMax 
)
inlinestatic

◆ Sort() [1/4]

template<typename T , class Storage >
static void vtkm::cont::Algorithm::Sort ( vtkm::cont::ArrayHandle< T, Storage > &  values)
inlinestatic

◆ Sort() [2/4]

template<typename T , class Storage , class BinaryCompare >
static void vtkm::cont::Algorithm::Sort ( vtkm::cont::ArrayHandle< T, Storage > &  values,
BinaryCompare  binary_compare 
)
inlinestatic

◆ Sort() [3/4]

template<typename T , class Storage >
static void vtkm::cont::Algorithm::Sort ( vtkm::cont::DeviceAdapterId  devId,
vtkm::cont::ArrayHandle< T, Storage > &  values 
)
inlinestatic

◆ Sort() [4/4]

template<typename T , class Storage , class BinaryCompare >
static void vtkm::cont::Algorithm::Sort ( vtkm::cont::DeviceAdapterId  devId,
vtkm::cont::ArrayHandle< T, Storage > &  values,
BinaryCompare  binary_compare 
)
inlinestatic

◆ SortByKey() [1/4]

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

◆ SortByKey() [2/4]

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

◆ SortByKey() [3/4]

template<typename T , typename U , class StorageT , class StorageU >
static void vtkm::cont::Algorithm::SortByKey ( vtkm::cont::DeviceAdapterId  devId,
vtkm::cont::ArrayHandle< T, StorageT > &  keys,
vtkm::cont::ArrayHandle< U, StorageU > &  values 
)
inlinestatic

◆ SortByKey() [4/4]

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

◆ Synchronize() [1/2]

static void vtkm::cont::Algorithm::Synchronize ( )
inlinestatic

◆ Synchronize() [2/2]

static void vtkm::cont::Algorithm::Synchronize ( vtkm::cont::DeviceAdapterId  devId)
inlinestatic

◆ Transform() [1/2]

template<typename T , typename U , typename V , typename StorageT , typename StorageU , typename StorageV , typename BinaryFunctor >
static void vtkm::cont::Algorithm::Transform ( const vtkm::cont::ArrayHandle< T, StorageT > &  input1,
const vtkm::cont::ArrayHandle< U, StorageU > &  input2,
vtkm::cont::ArrayHandle< V, StorageV > &  output,
BinaryFunctor  binaryFunctor 
)
inlinestatic

◆ Transform() [2/2]

template<typename T , typename U , typename V , typename StorageT , typename StorageU , typename StorageV , typename BinaryFunctor >
static void vtkm::cont::Algorithm::Transform ( vtkm::cont::DeviceAdapterId  devId,
const vtkm::cont::ArrayHandle< T, StorageT > &  input1,
const vtkm::cont::ArrayHandle< U, StorageU > &  input2,
vtkm::cont::ArrayHandle< V, StorageV > &  output,
BinaryFunctor  binaryFunctor 
)
inlinestatic

◆ Unique() [1/4]

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

◆ Unique() [2/4]

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

◆ Unique() [3/4]

template<typename T , class Storage >
static void vtkm::cont::Algorithm::Unique ( vtkm::cont::DeviceAdapterId  devId,
vtkm::cont::ArrayHandle< T, Storage > &  values 
)
inlinestatic

◆ Unique() [4/4]

template<typename T , class Storage , class BinaryCompare >
static void vtkm::cont::Algorithm::Unique ( vtkm::cont::DeviceAdapterId  devId,
vtkm::cont::ArrayHandle< T, Storage > &  values,
BinaryCompare  binary_compare 
)
inlinestatic

◆ UpperBounds() [1/6]

template<typename T , class CIn , class CVal , class COut >
static void vtkm::cont::Algorithm::UpperBounds ( const vtkm::cont::ArrayHandle< T, CIn > &  input,
const vtkm::cont::ArrayHandle< T, CVal > &  values,
vtkm::cont::ArrayHandle< vtkm::Id, COut > &  output 
)
inlinestatic

◆ UpperBounds() [2/6]

template<typename T , class CIn , class CVal , class COut , class BinaryCompare >
static void vtkm::cont::Algorithm::UpperBounds ( const vtkm::cont::ArrayHandle< T, CIn > &  input,
const vtkm::cont::ArrayHandle< T, CVal > &  values,
vtkm::cont::ArrayHandle< vtkm::Id, COut > &  output,
BinaryCompare  binary_compare 
)
inlinestatic

◆ UpperBounds() [3/6]

template<class CIn , class COut >
static void vtkm::cont::Algorithm::UpperBounds ( const vtkm::cont::ArrayHandle< vtkm::Id, CIn > &  input,
vtkm::cont::ArrayHandle< vtkm::Id, COut > &  values_output 
)
inlinestatic

◆ UpperBounds() [4/6]

template<typename T , class CIn , class CVal , class COut >
static void vtkm::cont::Algorithm::UpperBounds ( vtkm::cont::DeviceAdapterId  devId,
const vtkm::cont::ArrayHandle< T, CIn > &  input,
const vtkm::cont::ArrayHandle< T, CVal > &  values,
vtkm::cont::ArrayHandle< vtkm::Id, COut > &  output 
)
inlinestatic

◆ UpperBounds() [5/6]

template<typename T , class CIn , class CVal , class COut , class BinaryCompare >
static void vtkm::cont::Algorithm::UpperBounds ( vtkm::cont::DeviceAdapterId  devId,
const vtkm::cont::ArrayHandle< T, CIn > &  input,
const vtkm::cont::ArrayHandle< T, CVal > &  values,
vtkm::cont::ArrayHandle< vtkm::Id, COut > &  output,
BinaryCompare  binary_compare 
)
inlinestatic

◆ UpperBounds() [6/6]

template<class CIn , class COut >
static void vtkm::cont::Algorithm::UpperBounds ( vtkm::cont::DeviceAdapterId  devId,
const vtkm::cont::ArrayHandle< vtkm::Id, CIn > &  input,
vtkm::cont::ArrayHandle< vtkm::Id, COut > &  values_output 
)
inlinestatic

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