Halide
FlattenNestedRamps.h
Go to the documentation of this file.
1 #ifndef HALIDE_FLATTEN_NESTED_RAMPS_H
2 #define HALIDE_FLATTEN_NESTED_RAMPS_H
3 
4 /** \file
5  * Defines the lowering pass that flattens nested ramps and broadcasts.
6  * */
7 
8 #include "IR.h"
9 
10 namespace Halide {
11 namespace Internal {
12 
13 /** Take a statement/expression and replace nested ramps and broadcasts. */
14 Stmt flatten_nested_ramps(const Stmt &s);
15 Expr flatten_nested_ramps(const Expr &e);
16 
17 } // namespace Internal
18 } // namespace Halide
19 
20 #endif
Halide::Internal::flatten_nested_ramps
Stmt flatten_nested_ramps(const Stmt &s)
Take a statement/expression and replace nested ramps and broadcasts.
IR.h
Halide
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
Definition: AbstractGenerator.h:19
Halide::LinkageType::Internal
@ Internal
Not visible externally, similar to 'static' linkage in C.