Halide  17.0.2
Halide compiler and libraries
WrapCalls.h
Go to the documentation of this file.
1 #ifndef HALIDE_WRAP_CALLS_H
2 #define HALIDE_WRAP_CALLS_H
3 
4 /** \file
5  *
6  * Defines pass to replace calls to wrapped Functions with their wrappers.
7  */
8 
9 #include <map>
10 #include <string>
11 
12 namespace Halide {
13 namespace Internal {
14 
15 class Function;
16 
17 /** Replace every call to wrapped Functions in the Functions' definitions with
18  * call to their wrapper functions. */
19 std::map<std::string, Function> wrap_func_calls(const std::map<std::string, Function> &env);
20 
21 } // namespace Internal
22 } // namespace Halide
23 
24 #endif
This file defines the class FunctionDAG, which is our representation of a Halide pipeline, and contains methods to using Halide&#39;s bounds tools to query properties of it.
Not visible externally, similar to &#39;static&#39; linkage in C.
std::map< std::string, Function > wrap_func_calls(const std::map< std::string, Function > &env)
Replace every call to wrapped Functions in the Functions&#39; definitions with call to their wrapper func...