Halide 17.0.2
Halide compiler and libraries
|
#include <Generator.h>
Public Member Functions | |
~GeneratorInputBase () override | |
![]() | |
virtual | ~GIOBase ()=default |
void | set_type (const Type &type) |
void | set_dimensions (int dims) |
void | set_array_size (int size) |
GIOBase (const GIOBase &)=delete | |
GIOBase & | operator= (const GIOBase &)=delete |
GIOBase (GIOBase &&)=delete | |
GIOBase & | operator= (GIOBase &&)=delete |
Protected Member Functions | |
GeneratorInputBase (size_t array_size, const std::string &name, ArgInfoKind kind, const std::vector< Type > &t, int d) | |
GeneratorInputBase (const std::string &name, ArgInfoKind kind, const std::vector< Type > &t, int d) | |
Parameter | parameter () const |
void | init_internals () |
void | set_inputs (const std::vector< StubInput > &inputs) |
virtual void | set_def_min_max () |
void | verify_internals () override |
virtual std::string | get_c_type () const =0 |
void | check_value_writable () const override |
const char * | input_or_output () const override |
void | set_estimate_impl (const Var &var, const Expr &min, const Expr &extent) |
void | set_estimates_impl (const Region &estimates) |
![]() | |
bool | array_size_defined () const |
size_t | array_size () const |
virtual bool | is_array () const |
const std::string & | name () const |
ArgInfoKind | kind () const |
bool | gio_types_defined () const |
const std::vector< Type > & | gio_types () const |
Type | gio_type () const |
bool | dims_defined () const |
int | dims () const |
const std::vector< Func > & | funcs () const |
const std::vector< Expr > & | exprs () const |
GIOBase (size_t array_size, const std::string &name, ArgInfoKind kind, const std::vector< Type > &types, int dims) | |
std::string | array_name (size_t i) const |
void | check_matching_array_size (size_t size) const |
void | check_matching_types (const std::vector< Type > &t) const |
void | check_matching_dims (int d) const |
template<typename ElemType > | |
const std::vector< ElemType > & | get_values () const |
void | check_gio_access () const |
template<> | |
const std::vector< Expr > & | get_values () const |
template<> | |
const std::vector< Func > & | get_values () const |
Protected Attributes | |
std::vector< Parameter > | parameters_ |
bool | inputs_set = false |
![]() | |
int | array_size_ |
const std::string | name_ |
const ArgInfoKind | kind_ |
std::vector< Type > | types_ |
int | dims_ |
std::vector< Func > | funcs_ |
std::vector< Expr > | exprs_ |
GeneratorBase * | generator {nullptr} |
Definition at line 1539 of file Generator.h.
|
protected |
|
protected |
|
override |
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
Reimplemented in Halide::Internal::GeneratorInput_Arithmetic< T >, and Halide::Internal::GeneratorInput_Scalar< T >.
|
overrideprotectedvirtual |
Reimplemented from Halide::Internal::GIOBase.
|
protectedpure virtual |
|
overrideprotectedvirtual |
Implements Halide::Internal::GIOBase.
|
inlineoverrideprotectedvirtual |
Implements Halide::Internal::GIOBase.
Definition at line 1570 of file Generator.h.
|
protected |
|
protected |
Definition at line 1552 of file Generator.h.
Referenced by Halide::Internal::GeneratorInput_Buffer< T2 >::at(), Halide::Internal::GeneratorInput_Buffer< T2 >::operator ExternFuncArgument(), Halide::Internal::GeneratorInput_Func< T >::operator ExternFuncArgument(), Halide::Internal::GeneratorInput_Buffer< T2 >::operator ImageParam(), Halide::Internal::GeneratorInput_Buffer< T2 >::operator StubInputBuffer< T2 >(), Halide::Internal::GeneratorInput_Buffer< T2 >::operator[](), Halide::Internal::GeneratorInput_Arithmetic< T >::set_def_min_max(), Halide::Internal::GeneratorInput_Scalar< T >::set_def_min_max(), Halide::Internal::GeneratorInput_DynamicScalar< T >::set_estimate(), Halide::Internal::GeneratorInput_Scalar< T >::set_estimate(), Halide::Internal::GeneratorInput_Scalar< T >::set_estimate(), and Halide::Internal::GeneratorInput_Buffer< T2 >::size().
|
protected |
Definition at line 1558 of file Generator.h.