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)
46 keyLookup.Offsets.
Get(inIndex)))
64 #endif //vtk_m_exec_arg_ThreadIndicesReduceByKey_h
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
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
auto Get(const vtkm::Tuple< Ts... > &tuple)
Retrieve the object from a vtkm::Tuple at the given index.
Definition: Tuple.h:81
Basic container for thread indices in a worklet invocation.
Definition: ThreadIndicesBasic.h:35
vtkm::Int32 IdComponent
Base type to use to index small lists.
Definition: Types.h:194
vtkm::IdComponent NumberOfValues
Definition: ThreadIndicesReduceByKey.h:58
Container for thread indices in a reduce by key invocation.
Definition: ThreadIndicesReduceByKey.h:31
vtkm::Id GetValueOffset() const
Definition: ThreadIndicesReduceByKey.h:51
vtkm::Id ValueOffset
Definition: ThreadIndicesReduceByKey.h:57
vtkm::IdComponent GetNumberOfValues() const
Definition: ThreadIndicesReduceByKey.h:54
vtkm::Int64 Id
Base type to use to index arrays.
Definition: Types.h:227