Halide 22.0.0 Halide compiler and libraries

Loading...
Searching...
No Matches
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
Expr.h
Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt)
Halide::Internal::ArgInfoKind::Function
@ Function
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::LinkageType::Internal
@ Internal
Not visible externally, similar to 'static' linkage in C.
Halide::cast
Internal::ConstantInterval cast(Type t, const Internal::ConstantInterval &a)
Cast operators for ConstantIntervals.
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