Accessor for computing reductions. More...
Public Member Functions | |
auto | operator[] (size_type index) const |
Prepare to update en element. | |
util::span< element_type > | span () const |
Access the underlying elements. | |
Accessor for computing reductions.
This class is supported for GPU execution. Name via field::reduction
. Usable only with the global topology. Pass a normal field_reference
. The previous field value contributes to the result.
R | reduction operation |
T | data type |
auto operator[] | ( | size_type | index | ) | const |
Prepare to update en element.
T
argument into the field element util::span< element_type > span | ( | ) | const |
Access the underlying elements.