VTK-m
2.2
|
Container for thread indices in a reduce by key invocation. More...
#include <ThreadIndicesReduceByKey.h>
Public Member Functions | |
template<typename P1 , typename P2 > | |
ThreadIndicesReduceByKey (vtkm::Id threadIndex, vtkm::Id inIndex, vtkm::IdComponent visitIndex, vtkm::Id outIndex, const vtkm::exec::internal::ReduceByKeyLookupBase< P1, P2 > &keyLookup) | |
vtkm::Id | GetValueOffset () const |
vtkm::IdComponent | GetNumberOfValues () const |
Public Member Functions inherited from vtkm::exec::arg::ThreadIndicesBasic | |
ThreadIndicesBasic (vtkm::Id threadIndex, vtkm::Id inIndex, vtkm::IdComponent visitIndex, vtkm::Id outIndex) | |
vtkm::Id | GetThreadIndex () const |
The index of the thread or work invocation. More... | |
vtkm::Id | GetInputIndex () const |
The index into the input domain. More... | |
vtkm::Id3 | GetInputIndex3D () const |
The 3D index into the input domain. More... | |
vtkm::Id | GetOutputIndex () const |
The index into the output domain. More... | |
vtkm::IdComponent | GetVisitIndex () const |
The visit index. More... | |
Private Types | |
using | Superclass = vtkm::exec::arg::ThreadIndicesBasic |
Private Attributes | |
vtkm::Id | ValueOffset |
vtkm::IdComponent | NumberOfValues |
Container for thread indices in a reduce by key invocation.
This specialization of ThreadIndices
adds extra indices that deal with a reduce by key. In particular, it save the indices used to map from a unique key index to the group of input values that has that key associated with it.
|
private |
|
inline |
|
inline |
|
inline |
|
private |
|
private |