Loading...
Searching...
No Matches
BoundsInference.h
Go to the documentation of this file.
#ifndef HALIDE_BOUNDS_INFERENCE_H
#define HALIDE_BOUNDS_INFERENCE_H
/** \file
* Defines the bounds_inference lowering pass.
*/
#include <map>
#include <string>
#include <vector>
#include "Expr.h"
#include "Interval.h"
namespace Halide {
struct Target;
namespace Internal {
class Function;
/** Take a partially lowered statement that includes symbolic
* representations of the bounds over which things should be realized,
* and inject expressions defining those bounds.
*/
Stmt bounds_inference(Stmt,
const std::vector<Function> &outputs,
const std::vector<std::string> &realization_order,
const std::vector<std::vector<std::string>> &fused_groups,
const std::map<std::string, Function> &environment,
const std::map<std::pair<std::string, int>, Interval> &func_bounds,
const Target &target);
} // 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::realization_order
std::pair< std::vector< std::string >, std::vector< std::vector< std::string > > > realization_order(const std::vector< Function > &outputs, std::map< std::string, Function > &env)
Given a bunch of functions that call each other, determine an order in which to do the scheduling.
Halide::Internal::bounds_inference
Stmt bounds_inference(Stmt, const std::vector< Function > &outputs, const std::vector< std::string > &realization_order, const std::vector< std::vector< std::string > > &fused_groups, const std::map< std::string, Function > &environment, const std::map< std::pair< std::string, int >, Interval > &func_bounds, const Target &target)
Take a partially lowered statement that includes symbolic representations of the bounds over which th...
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
Halide::Target
A struct representing a target machine and os to generate code for.
Definition Target.h:19