VTK-m
2.0
|
The ExecutionSignature
tag to use to get the visit index.
More...
#include <VisitIndex.h>
Public Types | |
using | AspectTag = vtkm::exec::arg::AspectTagVisitIndex |
Static Public Attributes | |
static constexpr vtkm::IdComponent | INDEX = 1 |
The ExecutionSignature
tag to use to get the visit index.
When a worklet is dispatched, there is a scatter operation defined that optionally allows each input to go to multiple output entries. When one input is assigned to multiple outputs, there needs to be a mechanism to uniquely identify which output is which. The visit index is a value between 0 and the number of outputs a particular input goes to. This tag in the ExecutionSignature
passes the visit index for this work. WorkletBase
contains a typedef that points to this class.
|
staticconstexpr |