VTK-m
2.0
|
Container for thread indices in a reduce by key invocation. More...
#include <ThreadIndicesReduceByKey.h>
Public Member Functions | |
template<typename P1 , typename P2 > | |
VTKM_EXEC | ThreadIndicesReduceByKey (vtkm::Id threadIndex, vtkm::Id inIndex, vtkm::IdComponent visitIndex, vtkm::Id outIndex, const vtkm::exec::internal::ReduceByKeyLookupBase< P1, P2 > &keyLookup) |
VTKM_EXEC vtkm::Id | GetValueOffset () const |
VTKM_EXEC vtkm::IdComponent | GetNumberOfValues () const |
Public Member Functions inherited from vtkm::exec::arg::ThreadIndicesBasic | |
VTKM_EXEC | ThreadIndicesBasic (vtkm::Id threadIndex, vtkm::Id inIndex, vtkm::IdComponent visitIndex, vtkm::Id outIndex) |
VTKM_EXEC vtkm::Id | GetThreadIndex () const |
The index of the thread or work invocation. More... | |
VTKM_EXEC vtkm::Id | GetInputIndex () const |
The index into the input domain. More... | |
VTKM_EXEC vtkm::Id3 | GetInputIndex3D () const |
The 3D index into the input domain. More... | |
VTKM_EXEC vtkm::Id | GetOutputIndex () const |
The index into the output domain. More... | |
VTKM_EXEC 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 |
|
private |
|
private |