Halide  20.0.0
Halide compiler and libraries
TargetQueryOps.h
Go to the documentation of this file.
1 #ifndef HALIDE_TARGET_QUERY_OPS_H
2 #define HALIDE_TARGET_QUERY_OPS_H
3 
4 /** \file
5  * Defines a lowering pass to lower all target_is() and target_has() helpers.
6  */
7 
8 #include <map>
9 #include <string>
10 
11 namespace Halide {
12 
13 struct Target;
14 
15 namespace Internal {
16 
17 class Function;
18 
19 void lower_target_query_ops(std::map<std::string, Function> &env, const Target &t);
20 
21 } // namespace Internal
22 } // namespace Halide
23 
24 #endif
void lower_target_query_ops(std::map< std::string, Function > &env, 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 struct representing a target machine and os to generate code for.
Definition: Target.h:19