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

The ExecutionSignature tag to use to get the work index. More...

#include <WorkIndex.h>

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

Public Types

using AspectTag = vtkm::exec::arg::AspectTagWorkIndex
 

Static Public Attributes

static constexpr vtkm::IdComponent INDEX = 1
 

Detailed Description

The ExecutionSignature tag to use to get the work index.

This tag produces a vtkm::Id that uniquely identifies the invocation instance of the worklet. When a worklet is dispatched, it broken into pieces defined by the input domain and scheduled on independent threads. 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::WorkIndex::INDEX = 1
staticconstexpr

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