Halide 22.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
11namespace Halide {
12
13struct Target;
14
15namespace Internal {
16
17class 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
Halide::Internal::ArgInfoKind::Function
@ Function
Halide::Internal::lower_target_query_ops
void lower_target_query_ops(std::map< std::string, Function > &env, const Target &t)
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::Target
A struct representing a target machine and os to generate code for.
Definition: Target.h:19