Viskores  1.0
List of all members
viskores::worklet::WorkletVisitPointsWithCells::InputIndex Struct Reference

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

#include <WorkletMapTopology.h>

Inheritance diagram for viskores::worklet::WorkletVisitPointsWithCells::InputIndex:
viskores::exec::arg::InputIndex viskores::exec::arg::ExecutionSignatureTagBase

Additional Inherited Members

- Public Types inherited from viskores::exec::arg::InputIndex
using AspectTag = viskores::exec::arg::AspectTagInputIndex
 
- Static Public Attributes inherited from viskores::exec::arg::InputIndex
static constexpr viskores::IdComponent INDEX = 1
 

Detailed Description

The ExecutionSignature tag to use to get the input index.

This tag produces a viskores::Id that identifies the index of the input element, which can differ from the WorkIndex in a worklet with a scatter.

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 of the input element that the work thread is currently working on. When a worklet has a scatter associated with it, the input and output indices can be different.


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