Go to the documentation of this file. 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 sum(Expr, const std::string &s="sum")
An inline reduction.
Expr saturating_sum(Expr, const std::string &s="saturating_sum")
Expr maximum(Expr, const std::string &s="maximum")
Expr product(Expr, const std::string &s="product")
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
Tuple argmin(Expr, const std::string &s="argmin")
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 minimum(Expr, const std::string &s="minimum")