Loading...
Searching...
No Matches
SlidingWindow.h
Go to the documentation of this file.
#ifndef HALIDE_SLIDING_WINDOW_H
#define HALIDE_SLIDING_WINDOW_H
/** \file
*
* Defines the sliding_window lowering optimization pass, which avoids
* computing provably-already-computed values.
*/
#include <map>
#include <string>
#include "Expr.h"
namespace Halide {
namespace Internal {
class Function;
/** Perform sliding window optimizations on a halide
* statement. I.e. don't bother computing points in a function that
* have provably already been computed by a previous iteration.
*/
Stmt sliding_window(const Stmt &s, const std::map<std::string, Function> &env);
} // namespace Internal
} // namespace Halide
#endif
Expr.h
Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt).
Halide::Internal::Function
A reference-counted handle to Halide's internal representation of a function.
Definition Function.h:39
Halide::Internal
Definition AbstractGenerator.h:24
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 AbstractGenerator.h:19
Halide::Internal::Stmt
A reference-counted handle to a statement node.
Definition Expr.h:427