Halide 21.0.0
Halide compiler and libraries
|
#include <Generator.h>
Public Member Functions | |
GeneratorInput_Func (const std::string &name, const Type &t, int d) | |
GeneratorInput_Func (const std::string &name, int d) | |
GeneratorInput_Func (const std::string &name, const Type &t) | |
GeneratorInput_Func (const std::string &name) | |
GeneratorInput_Func (size_t array_size, const std::string &name, const Type &t, int d) | |
GeneratorInput_Func (size_t array_size, const std::string &name, int d) | |
GeneratorInput_Func (size_t array_size, const std::string &name, const Type &t) | |
GeneratorInput_Func (size_t array_size, const std::string &name) | |
template<typename... Args> | |
Expr | operator() (Args &&...args) const |
Expr | operator() (const std::vector< Expr > &args) const |
operator Func () const | |
operator ExternFuncArgument () const | |
GeneratorInput_Func< T > & | set_estimate (Var var, Expr min, Expr extent) |
GeneratorInput_Func< T > & | set_estimates (const Region &estimates) |
Func | in () |
Func | in (const Func &other) |
Func | in (const std::vector< Func > &others) |
Public Member Functions inherited from Halide::Internal::GeneratorInputImpl< T, Func > | |
size_t | size () const |
const Func & | operator[] (size_t i) const |
const Func & | at (size_t i) const |
std::vector< Func >::const_iterator | begin () const |
std::vector< Func >::const_iterator | end () const |
Public Member Functions inherited from Halide::Internal::GeneratorInputBase | |
~GeneratorInputBase () override | |
Public Member Functions inherited from Halide::Internal::GIOBase | |
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 Types | |
using | TBase = typename Super::TBase |
Protected Types inherited from Halide::Internal::GeneratorInputImpl< T, Func > | |
using | TBase |
Protected Member Functions | |
std::string | get_c_type () const override |
template<typename T2> | |
T2 | as () const |
Protected Member Functions inherited from Halide::Internal::GeneratorInputImpl< T, Func > | |
bool | is_array () const override |
GeneratorInputImpl (const std::string &name, ArgInfoKind kind, const std::vector< Type > &t, int d) | |
GeneratorInputImpl (const std::string &name, ArgInfoKind kind, const std::vector< Type > &t, int d) | |
GeneratorInputImpl (const std::string &name, ArgInfoKind kind, const std::vector< Type > &t, int d) | |
Protected Member Functions inherited from Halide::Internal::GeneratorInputBase | |
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 |
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) |
Protected Member Functions inherited from Halide::Internal::GIOBase | |
bool | array_size_defined () const |
size_t | array_size () 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 |
Additional Inherited Members | |
Protected Attributes inherited from Halide::Internal::GeneratorInputBase | |
std::vector< Parameter > | parameters_ |
bool | inputs_set = false |
Protected Attributes inherited from Halide::Internal::GIOBase | |
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 1827 of file Generator.h.
|
protected |
Definition at line 1832 of file Generator.h.
|
inline |
Definition at line 1844 of file Generator.h.
References Halide::Internal::GIOBase::name(), and Halide::Internal::Type.
Referenced by set_estimate(), and set_estimates().
|
inline |
Definition at line 1849 of file Generator.h.
References Halide::Internal::GIOBase::name().
|
inline |
Definition at line 1854 of file Generator.h.
References Halide::Internal::GIOBase::name(), and Halide::Internal::Type.
|
inlineexplicit |
Definition at line 1859 of file Generator.h.
References Halide::Internal::GIOBase::name().
|
inline |
Definition at line 1863 of file Generator.h.
References Halide::Internal::GIOBase::array_size(), Halide::Internal::GIOBase::name(), and Halide::Internal::Type.
|
inline |
Definition at line 1868 of file Generator.h.
References Halide::Internal::GIOBase::array_size(), and Halide::Internal::GIOBase::name().
|
inline |
Definition at line 1873 of file Generator.h.
References Halide::Internal::GIOBase::array_size(), Halide::Internal::GIOBase::name(), and Halide::Internal::Type.
|
inline |
Definition at line 1878 of file Generator.h.
References Halide::Internal::GIOBase::array_size(), and Halide::Internal::GIOBase::name().
|
inlineoverrideprotectedvirtual |
Implements Halide::Internal::GeneratorInputBase.
Definition at line 1834 of file Generator.h.
|
inlineprotected |
Definition at line 1839 of file Generator.h.
|
inline |
Definition at line 1883 of file Generator.h.
References Halide::Internal::GIOBase::check_gio_access(), and Halide::Internal::GIOBase::funcs().
|
inline |
Definition at line 1888 of file Generator.h.
References Halide::Internal::GIOBase::check_gio_access(), and Halide::Internal::GIOBase::funcs().
|
inline |
Definition at line 1893 of file Generator.h.
References Halide::Internal::GIOBase::check_gio_access(), and Halide::Internal::GIOBase::funcs().
|
inline |
Definition at line 1898 of file Generator.h.
References Halide::Internal::GIOBase::check_gio_access(), and Halide::Internal::GeneratorInputBase::parameters_.
|
inline |
Definition at line 1903 of file Generator.h.
References Halide::Internal::GIOBase::check_gio_access(), GeneratorInput_Func(), Halide::Internal::min(), and Halide::Internal::GeneratorInputBase::set_estimate_impl().
|
inline |
Definition at line 1909 of file Generator.h.
References Halide::Internal::GIOBase::check_gio_access(), GeneratorInput_Func(), and Halide::Internal::GeneratorInputBase::set_estimates_impl().
|
inline |
Definition at line 1915 of file Generator.h.
References Halide::Internal::GIOBase::check_gio_access(), and Halide::Func::in().
|
inline |
Definition at line 1920 of file Generator.h.
References Halide::Internal::GIOBase::check_gio_access(), and Halide::Func::in().
|
inline |
Definition at line 1925 of file Generator.h.
References Halide::Internal::GIOBase::check_gio_access(), and Halide::Func::in().