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 #include "Target.h"
16 
17 namespace Halide {
18 namespace Internal {
19 
20 class Function;
21 
22 /** Build loop nests and inject Function realizations at the
23  * appropriate places using the schedule. Returns a flag indicating
24  * whether memoization passes need to be run. */
25 Stmt schedule_functions(const std::vector<Function> &outputs,
26  const std::vector<std::vector<std::string>> &fused_groups,
27  const std::map<std::string, Function> &env,
28  const Target &target,
29  bool &any_memoized);
30 
31 } // namespace Internal
32 } // namespace Halide
33 
34 #endif
Target.h
Halide
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
Definition: AddAtomicMutex.h:21
Halide::LinkageType::Internal
@ Internal
Not visible externally, similar to 'static' linkage in C.
Halide::Internal::IOKind::Function
@ Function
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.