Loading...
Searching...
No Matches
ScheduleFunctions.h
Go to the documentation of this file.
#ifndef HALIDE_INTERNAL_SCHEDULE_FUNCTIONS_H
#define HALIDE_INTERNAL_SCHEDULE_FUNCTIONS_H
/** \file
*
* Defines the function that does initial lowering of Halide Functions
* into a loop nest using its schedule. The first stage of lowering.
*/
#include <map>
#include <string>
#include <vector>
#include "Expr.h"
namespace Halide {
struct Target;
namespace Internal {
class Function;
/** Build loop nests and inject Function realizations at the
* appropriate places using the schedule. Returns a flag indicating
* whether memoization passes need to be run. */
Stmt schedule_functions(const std::vector<Function> &outputs,
const std::vector<std::vector<std::string>> &fused_groups,
const std::map<std::string, Function> &env,
const Target &target,
bool &any_memoized);
} // 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::schedule_functions
Stmt schedule_functions(const std::vector< Function > &outputs, const std::vector< std::vector< std::string > > &fused_groups, const std::map< std::string, Function > &env, const Target &target, bool &any_memoized)
Build loop nests and inject Function realizations at the appropriate places using the schedule.
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
Halide::Target
A struct representing a target machine and os to generate code for.
Definition Target.h:19