Viskores  1.0
Public Types | Static Public Attributes | List of all members
viskores::exec::arg::WorkIndex Struct Reference

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

#include <WorkIndex.h>

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

Public Types

using AspectTag = viskores::exec::arg::AspectTagWorkIndex
 

Static Public Attributes

static constexpr viskores::IdComponent INDEX = 1
 

Detailed Description

The ExecutionSignature tag to use to get the work index.

This tag produces a viskores::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 viskores::IdComponent viskores::exec::arg::WorkIndex::INDEX = 1
staticconstexpr

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