Halide 22.0.0 Halide compiler and libraries

Namespaces | Functions
InlineReductions.h File Reference

Defines some inline reductions: sum, product, minimum, maximum. More...

`#include <string>`
`#include "Expr.h"`
`#include "RDom.h"`
`#include "Tuple.h"`

Go to the source code of this file.

## Namespaces
namespace | Halide
| This file defines the class FunctionDAG, which is our representation of a Halide pipeline, and contains methods to using Halide's bounds tools to query properties of it.

## Functions
Expr | Halide::sum (Expr, const std::string &s="sum")
| An inline reduction. More...
Expr | Halide::saturating_sum (Expr, const std::string &s="saturating_sum")
Expr | Halide::product (Expr, const std::string &s="product")
Expr | Halide::maximum (Expr, const std::string &s="maximum")
Expr | Halide::minimum (Expr, const std::string &s="minimum")
Expr | Halide::sum (const RDom &, Expr, const std::string &s="sum")
| Variants of the inline reduction in which the RDom is stated explicitly. More...
Expr | Halide::saturating_sum (const RDom &r, Expr e, const std::string &s="saturating_sum")
Expr | Halide::product (const RDom &, Expr, const std::string &s="product")
Expr | Halide::maximum (const RDom &, Expr, const std::string &s="maximum")
Expr | Halide::minimum (const RDom &, Expr, const std::string &s="minimum")
Tuple | Halide::argmax (Expr, const std::string &s="argmax")
| Returns an Expr or Tuple representing the coordinates of the point in the RDom which minimizes or maximizes the expression. More...
Tuple | Halide::argmin (Expr, const std::string &s="argmin")
Tuple | Halide::argmax (const RDom &, Expr, const std::string &s="argmax")
Tuple | Halide::argmin (const RDom &, Expr, const std::string &s="argmin")
Expr | Halide::sum (Expr, const Func &)
| Inline reductions create an anonymous helper Func to do the work. More...
Expr | Halide::saturating_sum (Expr, const Func &)
Expr | Halide::product (Expr, const Func &)
Expr | Halide::maximum (Expr, const Func &)
Expr | Halide::minimum (Expr, const Func &)
Expr | Halide::sum (const RDom &, Expr, const Func &)
Expr | Halide::saturating_sum (const RDom &r, Expr e, const Func &)
Expr | Halide::product (const RDom &, Expr, const Func &)
Expr | Halide::maximum (const RDom &, Expr, const Func &)
Expr | Halide::minimum (const RDom &, Expr, const Func &)
Tuple | Halide::argmax (Expr, const Func &)
Tuple | Halide::argmin (Expr, const Func &)
Tuple | Halide::argmax (const RDom &, Expr, const Func &)
Tuple | Halide::argmin (const RDom &, Expr, const Func &)

## Detailed Description

Defines some inline reductions: sum, product, minimum, maximum.

Definition in file InlineReductions.h.