VTK-m
2.2
|
A control signature tag for reduced input values. More...
#include <WorkletReduceByKey.h>
Public Types | |
using | TypeCheckTag = vtkm::cont::arg::TypeCheckTagArrayIn |
using | TransportTag = vtkm::cont::arg::TransportTagArrayIn |
using | FetchTag = vtkm::exec::arg::FetchTagArrayDirectIn |
A control signature tag for reduced input values.
AWorkletReduceByKey
operates by collecting all identical keys and calling one instance of the worklet for those identical keys. The worklet then produces a "reduced" value per key.
This tag specifies a vtkm::cont::ArrayHandle
object that holds the values. It is an input array with entries for each reduced value. The number of values in the array must equal the number of unique keys.
A ReducedValuesIn
argument is usually used to pass reduced values from one invoke of a reduce by key worklet to another invoke of a reduced by key worklet such as in an algorithm that requires iterative steps.
using vtkm::worklet::WorkletReduceByKey::ReducedValuesIn::FetchTag = vtkm::exec::arg::FetchTagArrayDirectIn |
using vtkm::worklet::WorkletReduceByKey::ReducedValuesIn::TransportTag = vtkm::cont::arg::TransportTagArrayIn |
using vtkm::worklet::WorkletReduceByKey::ReducedValuesIn::TypeCheckTag = vtkm::cont::arg::TypeCheckTagArrayIn |