VTK-m  2.0
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

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.

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. WorkletBase contains a typedef that points to this class.

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: