1 #ifndef HALIDE_OUTPUT_IMAGE_PARAM_H 2 #define HALIDE_OUTPUT_IMAGE_PARAM_H 37 bool *placeholder_seen)
const;
47 const std::string &
name()
const;
std::vector< Range > Region
A multi-dimensional box.
int host_alignment() const
Get the alignment of the host pointer in bytes.
Func func
If Input: Func representation of the ImageParam.
A fragment of Halide syntax.
Expr height() const
Get an expression giving the extent in dimension 1, which by convention is the height of the image...
int dimensions() const
Get the dimensionality of this image parameter.
bool defined() const
Is this parameter handle non-nullptr.
A struct representing an argument to a halide-generated function.
Expr left() const
Get an expression giving the minimum coordinate in dimension 0, which by convention is the coordinate...
Type type() const
Get the type of the image data this Param refers to.
A reference-counted handle to a parameter to a halide pipeline.
OutputImageParam & set_host_alignment(int)
Set the expected alignment of the host pointer in bytes.
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.
OutputImageParam()=default
Construct a null image parameter handle.
OutputImageParam & set_estimates(const Region &estimates)
Set (min, extent) estimates for all dimensions in the ImageParam at once; this is equivalent to calli...
Defines Func - the front-end handle on a halide function, and related classes.
Parameter parameter() const
Get at the internal parameter object representing this ImageParam.
Internal::Dimension dim(int i)
Get a handle on one of the dimensions for the purposes of inspecting or constraining its min...
This file declares the routines used by Halide internally in its runtime.
Expr top() const
Get an expression giving the minimum coordinate in dimension 1, which by convention is the top of the...
A handle on the output buffer of a pipeline.
const std::string & name() const
Get the name of this Param.
Expr channels() const
Get an expression giving the extent in dimension 2, which by convention is the channel-count of the i...
void add_implicit_args_if_placeholder(std::vector< Expr > &args, Expr last_arg, int total_args, bool *placeholder_seen) const
Defines the Var - the front-end variable.
Defines the Dimension utility class for Halide pipelines.
Defines a type used for expressing the type signature of a generated halide pipeline.
Expr bottom() const
Get an expression giving the maximum coordinate in dimension 1, which by convention is the bottom of ...
An argument to an extern-defined Func.
Types in the halide type system.
Expr width() const
Get an expression giving the extent in dimension 0, which by convention is the width of the image...
OutputImageParam & store_in(MemoryType type)
Set the desired storage type for this parameter.
Kind
An argument is either a primitive type (for parameters), or a buffer pointer.
Parameter param
A reference-counted handle on the internal parameter object.
Argument::Kind kind
Is this an input or an output? OutputImageParam is the base class for both.
Expr right() const
Get an expression giving the maximum coordinate in dimension 0, which by convention is the coordinate...
MemoryType
An enum describing different address spaces to be used with Func::store_in.