Viskores
1.0
|
The ExecutionSignature
tag to get the number of values.
More...
#include <WorkletReduceByKey.h>
Additional Inherited Members | |
![]() | |
using | AspectTag = viskores::exec::arg::AspectTagValueCount |
![]() | |
static constexpr viskores::IdComponent | INDEX = 1 |
The ExecutionSignature
tag to get the number of values.
A WorkletReduceByKey
operates by collecting all values associated with identical keys and then giving the worklet a Vec-like object containing all values with a matching key. This tag produces a viskores::IdComponent
that is equal to the number of times the key associated with this call to the worklet occurs in the input. This is the same size as the Vec-like objects provided by ValuesIn
arguments.