Loading...
Searching...
No Matches
TargetQueryOps.h
Go to the documentation of this file.
#ifndef HALIDE_TARGET_QUERY_OPS_H
#define HALIDE_TARGET_QUERY_OPS_H
/** \file
* Defines a lowering pass to lower all target_is() and target_has() helpers.
*/
#include <map>
#include <string>
namespace Halide {
struct Target;
namespace Internal {
class Function;
void lower_target_query_ops(std::map<std::string, Function> &env, const Target &t);
} // namespace Internal
} // namespace Halide
#endif
Halide::Internal::Function
A reference-counted handle to Halide's internal representation of a function.
Definition Function.h:39
Halide::Internal
Definition AbstractGenerator.h:24
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::Target
A struct representing a target machine and os to generate code for.
Definition Target.h:19