VTK-m
2.2
|
The ExecutionSignature
tag to use to get the thread indices.
More...
#include <WorkletCellNeighborhood.h>
Additional Inherited Members | |
Public Types inherited from vtkm::exec::arg::ThreadIndices | |
using | AspectTag = vtkm::exec::arg::AspectTagThreadIndices |
Static Public Attributes inherited from vtkm::exec::arg::ThreadIndices | |
static constexpr vtkm::IdComponent | INDEX = 1 |
The ExecutionSignature
tag to use to get the thread indices.
This tag produces an internal object that manages indices and other metadata of the current thread. Thread indices objects vary by worklet type, but most users can get the information they need through other signature tags.
When a worklet is dispatched, it broken into pieces defined by the input domain and scheduled on independent threads. During this process multiple indices associated with the input and output can be generated. This tag in the ExecutionSignature
passes the index for this work.