VTK-m  2.2
Public Types | Static Public Attributes | List of all members
vtkm::exec::arg::ThreadIndices Struct Reference

The ExecutionSignature tag to use to get the thread indices. More...

#include <ThreadIndices.h>

Inheritance diagram for vtkm::exec::arg::ThreadIndices:
vtkm::exec::arg::ExecutionSignatureTagBase vtkm::worklet::WorkletCellNeighborhood::ThreadIndices vtkm::worklet::WorkletMapField::ThreadIndices vtkm::worklet::WorkletPointNeighborhood::ThreadIndices vtkm::worklet::WorkletReduceByKey::ThreadIndices vtkm::worklet::WorkletVisitCellsWithPoints::ThreadIndices vtkm::worklet::WorkletVisitPointsWithCells::ThreadIndices

Public Types

using AspectTag = vtkm::exec::arg::AspectTagThreadIndices
 

Static Public Attributes

static constexpr vtkm::IdComponent INDEX = 1
 

Detailed Description

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.

Member Typedef Documentation

◆ AspectTag

Member Data Documentation

◆ INDEX

constexpr vtkm::IdComponent vtkm::exec::arg::ThreadIndices::INDEX = 1
staticconstexpr

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