Internal::ReductionVariable#

struct ReductionVariable#

A single named dimension of a reduction domain.

Public Members

std::string var#

A variable name for the reduction variable.

This name must be a valid Var name, i.e. it must not contain a . character.

struct Compare#

This lets you use a ReductionVariable as a key in a map of the form map<ReductionVariable, Foo, ReductionVariable::Compare>.