1 #ifndef HALIDE_INLINE_REDUCTIONS_H 2 #define HALIDE_INLINE_REDUCTIONS_H 40 Expr
sum(Expr,
const std::string &s =
"sum");
41 Expr
saturating_sum(Expr,
const std::string &s =
"saturating_sum");
42 Expr
product(Expr,
const std::string &s =
"product");
43 Expr
maximum(Expr,
const std::string &s =
"maximum");
44 Expr
minimum(Expr,
const std::string &s =
"minimum");
57 Expr
sum(
const RDom &, Expr,
const std::string &s =
"sum");
58 Expr
saturating_sum(
const RDom &r, Expr e,
const std::string &s =
"saturating_sum");
59 Expr
product(
const RDom &, Expr,
const std::string &s =
"product");
60 Expr
maximum(
const RDom &, Expr,
const std::string &s =
"maximum");
61 Expr
minimum(
const RDom &, Expr,
const std::string &s =
"minimum");
69 Tuple
argmax(Expr,
const std::string &s =
"argmax");
70 Tuple
argmin(Expr,
const std::string &s =
"argmin");
71 Tuple
argmax(
const RDom &, Expr,
const std::string &s =
"argmax");
72 Tuple
argmin(
const RDom &, Expr,
const std::string &s =
"argmin");
81 Expr
sum(Expr,
const Func &);
83 Expr
product(Expr,
const Func &);
84 Expr
maximum(Expr,
const Func &);
85 Expr
minimum(Expr,
const Func &);
86 Expr
sum(
const RDom &, Expr,
const Func &);
88 Expr
product(
const RDom &, Expr,
const Func &);
89 Expr
maximum(
const RDom &, Expr,
const Func &);
90 Expr
minimum(
const RDom &, Expr,
const Func &);
91 Tuple
argmax(Expr,
const Func &);
92 Tuple
argmin(Expr,
const Func &);
93 Tuple
argmax(
const RDom &, Expr,
const Func &);
94 Tuple
argmin(
const RDom &, Expr,
const Func &);
Expr maximum(Expr, const std::string &s="maximum")
An inline reduction.
Tuple argmax(Expr, const std::string &s="argmax")
Returns an Expr or Tuple representing the coordinates of the point in the RDom which minimizes or max...
Expr sum(Expr, const std::string &s="sum")
An inline reduction.
Defines the front-end syntax for reduction domains and reduction variables.
Expr saturating_sum(Expr, const std::string &s="saturating_sum")
An inline reduction.
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.
Expr product(Expr, const std::string &s="product")
An inline reduction.
Tuple argmin(Expr, const std::string &s="argmin")
Returns an Expr or Tuple representing the coordinates of the point in the RDom which minimizes or max...
Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt) ...
Expr minimum(Expr, const std::string &s="minimum")
An inline reduction.
Defines Tuple - the front-end handle on small arrays of expressions.