Go to the documentation of this file.
10 #ifndef vtk_m_exec_arg_WorkIndex_h
11 #define vtk_m_exec_arg_WorkIndex_h
50 template <
typename FetchTag,
typename ExecObjectType>
55 template <
typename ThreadIndicesType>
58 return indices.GetThreadIndex();
61 template <
typename ThreadIndicesType>
71 #endif //vtk_m_exec_arg_WorkIndex_h
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
The base class for all tags used in an ExecutionSignature.
Definition: ExecutionSignatureTagBase.h:37
vtkm::Int32 IdComponent
Represents a component ID (index of component in a vector).
Definition: Types.h:168
Class for loading and storing values in thread instance.
Definition: Fetch.h:49
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
VTKM_EXEC void Store(const ThreadIndicesType &, const ExecObjectType &, const ValueType &) const
Definition: WorkIndex.h:62
Aspect tag to use for getting the work index.
Definition: WorkIndex.h:28
static constexpr vtkm::IdComponent INDEX
Definition: WorkIndex.h:46
vtkm::Id ValueType
Definition: WorkIndex.h:53
The ExecutionSignature tag to use to get the work index.
Definition: WorkIndex.h:39
VTKM_EXEC vtkm::Id Load(const ThreadIndicesType &indices, const ExecObjectType &) const
Definition: WorkIndex.h:56