|
Halide 20.0.0
Halide compiler and libraries
|
#include <Generator.h>
Public Member Functions | |
| GeneratorInput_DynamicScalar (const std::string &name) | |
| operator Expr () const | |
| You can use this Input as an expression in a halide function definition. | |
| operator ExternFuncArgument () const | |
| Using an Input as the argument to an external stage treats it as an Expr. | |
| void | set_estimate (const Expr &value) |
| Type | type () const |
Public Member Functions inherited from Halide::Internal::GeneratorInputImpl< T, Expr > | |
| size_t | size () const |
| const Expr & | operator[] (size_t i) const |
| const Expr & | at (size_t i) const |
| std::vector< Expr >::const_iterator | begin () const |
| std::vector< Expr >::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 |
Additional Inherited Members | |
Protected Types inherited from Halide::Internal::GeneratorInputImpl< T, Expr > | |
| using | TBase = typename std::remove_all_extents< T >::type |
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 1951 of file Generator.h.
|
inlineexplicit |
Definition at line 1963 of file Generator.h.
|
inlineoverrideprotectedvirtual |
Implements Halide::Internal::GeneratorInputBase.
Definition at line 1958 of file Generator.h.
|
inline |
You can use this Input as an expression in a halide function definition.
Definition at line 1970 of file Generator.h.
References Halide::Internal::GIOBase::check_gio_access(), and Halide::Internal::GIOBase::exprs().
|
inline |
Using an Input as the argument to an external stage treats it as an Expr.
Definition at line 1977 of file Generator.h.
References Halide::Internal::GeneratorInputImpl< T, Expr >::at(), Halide::Internal::GIOBase::check_gio_access(), and Halide::Internal::GIOBase::exprs().
|
inline |
Definition at line 1982 of file Generator.h.
References Halide::cast(), Halide::Internal::GIOBase::check_gio_access(), Halide::Internal::GeneratorInputBase::parameters_, and Halide::Parameter::set_estimate().
|
inline |
Definition at line 1989 of file Generator.h.
References Halide::Expr::type().