Halide  12.0.1
Halide compiler and libraries
AsyncProducers.h
Go to the documentation of this file.
1 #ifndef HALIDE_ASYNC_PRODUCERS_H
2 #define HALIDE_ASYNC_PRODUCERS_H
3 
4 /** \file
5  * Defines the lowering pass that injects task parallelism for producers that are scheduled as async.
6  */
7 #include <map>
8 #include <string>
9 
10 #include "Expr.h"
11 
12 namespace Halide {
13 namespace Internal {
14 
15 class Function;
16 
17 Stmt fork_async_producers(Stmt s, const std::map<std::string, Function> &env);
18 
19 } // namespace Internal
20 } // namespace Halide
21 
22 #endif
Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt)
Stmt fork_async_producers(Stmt s, const std::map< std::string, Function > &env)
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:413