Halide 18.0.0
Halide compiler and libraries
|
Definition of an argument to a LoweredFunc. More...
#include <Module.h>
Public Member Functions | |
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 |
Public Attributes | |
ModulusRemainder | alignment |
For scalar arguments, the modulus and remainder of this argument. | |
![]() | |
std::string | name |
The name of the argument. | |
Kind | kind = InputScalar |
uint8_t | dimensions = 0 |
If kind == InputBuffer|OutputBuffer, this is the dimensionality of the buffer. | |
Type | type |
If this is a scalar parameter, then this is its type. | |
ArgumentEstimates | argument_estimates |
Additional Inherited Members | |
![]() | |
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.
|
default |
ModulusRemainder Halide::Internal::LoweredArgument::alignment |