Go to the documentation of this file.
18 #ifndef viskores_exec_arg_WorkIndex_h
19 #define viskores_exec_arg_WorkIndex_h
58 template <
typename FetchTag,
typename ExecObjectType>
63 template <
typename ThreadIndicesType>
66 return indices.GetThreadIndex();
69 template <
typename ThreadIndicesType>
79 #endif //viskores_exec_arg_WorkIndex_h
viskores::Id ValueType
Definition: WorkIndex.h:61
void Store(const ThreadIndicesType &, const ExecObjectType &, const ValueType &) const
Definition: WorkIndex.h:70
viskores::Int32 IdComponent
Base type to use to index small lists.
Definition: Types.h:202
viskores::Int64 Id
Base type to use to index arrays.
Definition: Types.h:235
Class for loading and storing values in thread instance.
Definition: Fetch.h:57
Groups connected points that have the same field value.
Definition: Atomic.h:27
static constexpr viskores::IdComponent INDEX
Definition: WorkIndex.h:54
The base class for all tags used in an ExecutionSignature.
Definition: ExecutionSignatureTagBase.h:45
viskores::Id Load(const ThreadIndicesType &indices, const ExecObjectType &) const
Definition: WorkIndex.h:64
#define VISKORES_EXEC
Definition: ExportMacros.h:59
Aspect tag to use for getting the work index.
Definition: WorkIndex.h:36
The ExecutionSignature tag to use to get the work index.
Definition: WorkIndex.h:47