1 #ifndef HALIDE_IMAGE_PARAM_H 2 #define HALIDE_IMAGE_PARAM_H 19 class GeneratorInput_Buffer;
25 friend class ::Halide::Internal::GeneratorInput_Buffer;
33 Func create_func()
const;
66 template<
typename... Args>
68 return func(std::forward<Args>(args)...);
87 operator Func()
const;
127 Func in(
const std::vector<Func> &fs);
Classes for declaring output image parameters to halide pipelines.
Func func
If Input: Func representation of the ImageParam.
A fragment of Halide syntax.
A struct representing an argument to a halide-generated function.
A reference-counted handle to a parameter to a halide pipeline.
This file defines the class FunctionDAG, which is our representation of a Halide pipeline, and contains methods to using Halide's bounds tools to query properties of it.
ImageParam & add_trace_tag(const std::string &trace_tag)
Add a trace tag to this ImageParam's Func.
Func in()
Creates and returns a new Func that wraps this ImageParam.
Defines Func - the front-end handle on a halide function, and related classes.
void reset()
Unbind any bound Buffer.
void trace_loads()
Trace all loads from this ImageParam by emitting calls to halide_trace.
ImageParam()=default
Construct a nullptr image parameter handle.
A handle on the output buffer of a pipeline.
#define HALIDE_NO_USER_CODE_INLINE
Not visible externally, similar to 'static' linkage in C.
Defines the Var - the front-end variable.
HALIDE_NO_USER_CODE_INLINE Expr operator()(Args &&...args) const
Construct an expression which loads from this image parameter.
An Image parameter to a halide pipeline.
Types in the halide type system.