Halide 22.0.0 Halide compiler and libraries

AllocationBoundsInference.h
Go to the documentation of this file.
1#ifndef HALIDE_ALLOCATION_BOUNDS_INFERENCE_H
2#define HALIDE_ALLOCATION_BOUNDS_INFERENCE_H
3
4/** \file
5 * Defines the lowering pass that determines how large internal allocations should be.
6 */
7#include <map>
8#include <string>
9#include <utility>
10
11#include "Expr.h"
12#include "Interval.h"
13
14 namespace Halide {
15 namespace Internal {
16
17 class Function;
18
19/** Take a partially statement with Realize nodes in terms of
20 * variables, and define values for those variables. */
21 Stmt allocation_bounds_inference(Stmt s,
22 const std::map<std::string, Function> &env,
23 const std::map<std::pair<std::string, int>, Interval> &func_bounds);
24} // namespace Internal
25} // namespace Halide
26
27#endif
Expr.h
Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt)
Interval.h
Defines the Interval class.
Halide::Internal::ArgInfoKind::Function
@ Function
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::LinkageType::Internal
@ Internal
Not visible externally, similar to 'static' linkage in C.
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