1 #ifndef HALIDE_FLATTEN_NESTED_RAMPS_H 2 #define HALIDE_FLATTEN_NESTED_RAMPS_H 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.
Not visible externally, similar to 'static' linkage in C.
Subtypes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt) ...
Stmt flatten_nested_ramps(const Stmt &s)
Take a statement/expression and replace nested ramps and broadcasts.