Go to the documentation of this file.
18 #ifndef viskores_exec_arg_ThreadIndicesReduceByKey_h
19 #define viskores_exec_arg_ThreadIndicesReduceByKey_h
44 template <
typename P1,
typename P2>
50 const viskores::exec::internal::ReduceByKeyLookupBase<P1, P2>& keyLookup)
51 :
Superclass(threadIndex, inIndex, visitIndex, outIndex)
54 keyLookup.Offsets.
Get(inIndex)))
72 #endif //viskores_exec_arg_ThreadIndicesReduceByKey_h
viskores::IdComponent NumberOfValues
Definition: ThreadIndicesReduceByKey.h:66
viskores::Id ValueOffset
Definition: ThreadIndicesReduceByKey.h:65
viskores::Int32 IdComponent
Base type to use to index small lists.
Definition: Types.h:202
Basic container for thread indices in a worklet invocation.
Definition: ThreadIndicesBasic.h:43
viskores::Int64 Id
Base type to use to index arrays.
Definition: Types.h:235
Groups connected points that have the same field value.
Definition: Atomic.h:27
ThreadIndicesReduceByKey(viskores::Id threadIndex, viskores::Id inIndex, viskores::IdComponent visitIndex, viskores::Id outIndex, const viskores::exec::internal::ReduceByKeyLookupBase< P1, P2 > &keyLookup)
Definition: ThreadIndicesReduceByKey.h:45
viskores::IdComponent GetNumberOfValues() const
Definition: ThreadIndicesReduceByKey.h:62
auto Get(const viskores::Tuple< Ts... > &tuple)
Retrieve the object from a viskores::Tuple at the given index.
Definition: Tuple.h:89
viskores::Id GetValueOffset() const
Definition: ThreadIndicesReduceByKey.h:59
#define VISKORES_EXEC
Definition: ExportMacros.h:59
Container for thread indices in a reduce by key invocation.
Definition: ThreadIndicesReduceByKey.h:39