Go to the documentation of this file.
10 #ifndef vtk_m_exec_arg_ThreadIndicesReduceByKey_h
11 #define vtk_m_exec_arg_ThreadIndicesReduceByKey_h
36 template <
typename P1,
typename P2>
42 const vtkm::exec::internal::ReduceByKeyLookupBase<P1, P2>& keyLookup)
43 :
Superclass(threadIndex, inIndex, visitIndex, outIndex)
63 #endif //vtk_m_exec_arg_ThreadIndicesReduceByKey_h
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
Basic container for thread indices in a worklet invocation.
Definition: ThreadIndicesBasic.h:35
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC_CONT auto Get(const vtkm::Tuple< Ts... > &tuple) -> decltype(tuple.template Get< Index >())
Retrieve the object from a vtkm::Tuple at the given index.
Definition: Tuple.h:83
vtkm::Int32 IdComponent
Represents a component ID (index of component in a vector).
Definition: Types.h:168
vtkm::IdComponent NumberOfValues
Definition: ThreadIndicesReduceByKey.h:57
Container for thread indices in a reduce by key invocation.
Definition: ThreadIndicesReduceByKey.h:31
VTKM_EXEC vtkm::IdComponent GetNumberOfValues() const
Definition: ThreadIndicesReduceByKey.h:53
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
vtkm::Id ValueOffset
Definition: ThreadIndicesReduceByKey.h:56
VTKM_EXEC vtkm::Id GetValueOffset() const
Definition: ThreadIndicesReduceByKey.h:50
VTKM_EXEC ThreadIndicesReduceByKey(vtkm::Id threadIndex, vtkm::Id inIndex, vtkm::IdComponent visitIndex, vtkm::Id outIndex, const vtkm::exec::internal::ReduceByKeyLookupBase< P1, P2 > &keyLookup)
Definition: ThreadIndicesReduceByKey.h:37