InlineReductions.h File Reference
#include <string>
#include "Expr.h"
#include "RDom.h"
#include "Tuple.h"

Go to the source code of this file.


 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 Halide::sum (Expr, const std::string &s="sum")
 An inline reduction. More...
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::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")

Detailed Description

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

Definition in file InlineReductions.h.