VTK-m  2.2
Public Types | List of all members
vtkm::worklet::WorkletReduceByKey::ReducedValuesIn Struct Reference

A control signature tag for reduced input values. More...

#include <WorkletReduceByKey.h>

Inheritance diagram for vtkm::worklet::WorkletReduceByKey::ReducedValuesIn:
vtkm::cont::arg::ControlSignatureTagBase

Public Types

using TypeCheckTag = vtkm::cont::arg::TypeCheckTagArrayIn
 
using TransportTag = vtkm::cont::arg::TransportTagArrayIn
 
using FetchTag = vtkm::exec::arg::FetchTagArrayDirectIn
 

Detailed Description

A control signature tag for reduced input values.

AWorkletReduceByKey operates by collecting all identical keys and calling one instance of the worklet for those identical keys. The worklet then produces a "reduced" value per key.

This tag specifies a vtkm::cont::ArrayHandle object that holds the values. It is an input array with entries for each reduced value. The number of values in the array must equal the number of unique keys.

A ReducedValuesIn argument is usually used to pass reduced values from one invoke of a reduce by key worklet to another invoke of a reduced by key worklet such as in an algorithm that requires iterative steps.

Member Typedef Documentation

◆ FetchTag

◆ TransportTag

◆ TypeCheckTag


The documentation for this struct was generated from the following file: