Halide  19.0.0
Halide compiler and libraries
LowerParallelTasks.h
Go to the documentation of this file.
1 #ifndef HALIDE_LOWER_PARALLEL_TASKS_H
2 #define HALIDE_LOWER_PARALLEL_TASKS_H
3 
4 /** \file
5  *
6  * Support for platform independent lowering of Halide parallel and async mechanisms.
7  * May eventually become a lowering pass.
8  */
9 
10 #include "IRVisitor.h"
11 
12 namespace Halide {
13 namespace Internal {
14 
15 Stmt lower_parallel_tasks(const Stmt &s, std::vector<LoweredFunc> &closure_implementations,
16  const std::string &name, const Target &t);
17 
18 } // namespace Internal
19 } // namespace Halide
20 
21 #endif // HALIDE_LOWER_PARALLEL_TASKS_H
Defines the base class for things that recursively walk over the IR.
Stmt lower_parallel_tasks(const Stmt &s, std::vector< LoweredFunc > &closure_implementations, const std::string &name, const Target &t)
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
@ Internal
Not visible externally, similar to 'static' linkage in C.
A reference-counted handle to a statement node.
Definition: Expr.h:427
A struct representing a target machine and os to generate code for.
Definition: Target.h:19