Halide
ScheduleFunctions.h
Go to the documentation of this file.
1 #ifndef HALIDE_INTERNAL_SCHEDULE_FUNCTIONS_H
2 #define HALIDE_INTERNAL_SCHEDULE_FUNCTIONS_H
3 
4 /** \file
5  *
6  * Defines the function that does initial lowering of Halide Functions
7  * into a loop nest using its schedule. The first stage of lowering.
8  */
9 
10 #include <map>
11 #include <string>
12 #include <vector>
13 
14 #include "Expr.h"
15 
16 namespace Halide {
17 
18 struct Target;
19 
20 namespace Internal {
21 
22 class Function;
23 
24 /** Build loop nests and inject Function realizations at the
25  * appropriate places using the schedule. Returns a flag indicating
26  * whether memoization passes need to be run. */
27 Stmt schedule_functions(const std::vector<Function> &outputs,
28  const std::vector<std::vector<std::string>> &fused_groups,
29  const std::map<std::string, Function> &env,
30  const Target &target,
31  bool &any_memoized);
32 
33 } // namespace Internal
34 } // namespace Halide
35 
36 #endif
Halide::Internal::ArgInfoKind::Function
@ Function
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.
Expr.h
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.