Halide
SlidingWindow.h
Go to the documentation of this file.
1 #ifndef HALIDE_SLIDING_WINDOW_H
2 #define HALIDE_SLIDING_WINDOW_H
3 
4 /** \file
5  *
6  * Defines the sliding_window lowering optimization pass, which avoids
7  * computing provably-already-computed values.
8  */
9 
10 #include <map>
11 #include <string>
12 
13 #include "Expr.h"
14 
15 namespace Halide {
16 namespace Internal {
17 
18 class Function;
19 
20 /** Perform sliding window optimizations on a halide
21  * statement. I.e. don't bother computing points in a function that
22  * have provably already been computed by a previous iteration.
23  */
24 Stmt sliding_window(const Stmt &s, const std::map<std::string, Function> &env);
25 
26 } // namespace Internal
27 } // namespace Halide
28 
29 #endif
Halide::Internal::sliding_window
Stmt sliding_window(const Stmt &s, const std::map< std::string, Function > &env)
Perform sliding window optimizations on a halide statement.
Halide
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
Definition: AddAtomicMutex.h:21
Halide::LinkageType::Internal
@ Internal
Not visible externally, similar to 'static' linkage in C.
Halide::Internal::IOKind::Function
@ Function
Expr.h