Loading...
Searching...
No Matches
AllocationBoundsInference.h
Go to the documentation of this file.
#ifndef HALIDE_ALLOCATION_BOUNDS_INFERENCE_H
#define HALIDE_ALLOCATION_BOUNDS_INFERENCE_H
/** \file
* Defines the lowering pass that determines how large internal allocations should be.
*/
#include <map>
#include <string>
#include <utility>
#include "Expr.h"
#include "Interval.h"
namespace Halide {
namespace Internal {
class Function;
/** Take a partially statement with Realize nodes in terms of
* variables, and define values for those variables. */
Stmt allocation_bounds_inference(Stmt s,
const std::map<std::string, Function> &env,
const std::map<std::pair<std::string, int>, Interval> &func_bounds);
} // namespace Internal
} // namespace Halide
#endif
Expr.h
Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt).
Interval.h
Defines the Interval class.
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::allocation_bounds_inference
Stmt allocation_bounds_inference(Stmt s, const std::map< std::string, Function > &env, const std::map< std::pair< std::string, int >, Interval > &func_bounds)
Take a partially statement with Realize nodes in terms of variables, and define values for those vari...
Halide
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
Definition AbstractGenerator.h:19
Halide::Internal::Interval
A class to represent ranges of Exprs.
Definition Interval.h:14
Halide::Internal::Stmt
A reference-counted handle to a statement node.
Definition Expr.h:427