Definition of an argument to a LoweredFunc.
More...
#include <Module.h>
|
| LoweredArgument ()=default |
|
| LoweredArgument (const Argument &arg) |
|
| LoweredArgument (const std::string &_name, Kind _kind, const Type &_type, uint8_t _dimensions, const ArgumentEstimates &argument_estimates) |
|
| Argument ()=default |
|
| Argument (const std::string &_name, Kind _kind, const Type &_type, int _dimensions, const ArgumentEstimates &argument_estimates) |
|
template<typename T , int Dims> |
| Argument (Buffer< T, Dims > im) |
|
bool | is_buffer () const |
|
bool | is_scalar () const |
|
bool | is_input () const |
|
bool | is_output () const |
|
bool | operator== (const Argument &rhs) const |
|
|
enum | Kind { InputScalar = halide_argument_kind_input_scalar
, InputBuffer = halide_argument_kind_input_buffer
, OutputBuffer = halide_argument_kind_output_buffer
} |
| An argument is either a primitive type (for parameters), or a buffer pointer. More...
|
|
Definition of an argument to a LoweredFunc.
This is similar to Argument, except it enables passing extra information useful to some targets to LoweredFunc.
Definition at line 84 of file Module.h.
◆ LoweredArgument() [1/3]
Halide::Internal::LoweredArgument::LoweredArgument |
( |
| ) |
|
|
default |
◆ LoweredArgument() [2/3]
Halide::Internal::LoweredArgument::LoweredArgument |
( |
const Argument & | arg | ) |
|
|
inlineexplicit |
◆ LoweredArgument() [3/3]
Halide::Internal::LoweredArgument::LoweredArgument |
( |
const std::string & | _name, |
|
|
Kind | _kind, |
|
|
const Type & | _type, |
|
|
uint8_t | _dimensions, |
|
|
const ArgumentEstimates & | argument_estimates ) |
|
inline |
◆ alignment
For scalar arguments, the modulus and remainder of this argument.
Definition at line 87 of file Module.h.
The documentation for this struct was generated from the following file: