reduction#
- group Built-in reduction operators
All built-in operators are defined for signed and unsigned integer types. Floating point types (
__half
,float
, anddouble
) are supported by all but bitwise operators. Arithmetic operators also cover complex typescomplex<__half>
andcomplex<float>
.For details about reduction operators, See Library::register_reduction_operator.
Typedefs
-
template<typename T>
using SumReduction = Legion::SumReduction<T># Reduction with addition.
See Legion::SumReduction.
-
template<typename T>
using DivReduction = Legion::DivReduction<T># Reduction with division.
See Legion::DivReduction.
-
template<typename T>
using MaxReduction = Legion::MaxReduction<T># Reduction with the binary max operator.
See Legion::MaxReduction.
-
template<typename T>
using MinReduction = Legion::MinReduction<T># Reduction with the binary min operator.
See Legion::MinReduction.
-
template<typename T>
using OrReduction = Legion::OrReduction<T># Reduction with bitwise or.
See Legion::OrReduction.
-
template<typename T>
using AndReduction = Legion::AndReduction<T># Reduction with bitwise and.
See Legion::AndReduction.
-
template<typename T>
using XorReduction = Legion::XorReduction<T># Reduction with bitwise xor.
See Legion::XorReduction.
-
template<typename T>