Halide
17.0.2
Halide compiler and libraries
|
#include <Generator.h>
Inherits Halide::Internal::GIOBase.
Inherited by Halide::Internal::GeneratorOutputImpl< T >.
Protected Member Functions | |
template<typename T2 , typename std::enable_if< std::is_same< T2, Func >::value >::type * = nullptr> | |
HALIDE_NO_USER_CODE_INLINE T2 | as () const |
![]() | |
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 |
virtual void | verify_internals () |
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 |
GeneratorOutputBase (size_t array_size, const std::string &name, ArgInfoKind kind, const std::vector< Type > &t, int d) | |
Forward schedule-related methods to the underlying Func. More... | |
GeneratorOutputBase (const std::string &name, ArgInfoKind kind, const std::vector< Type > &t, int d) | |
Forward schedule-related methods to the underlying Func. More... | |
void | init_internals () |
Forward schedule-related methods to the underlying Func. More... | |
void | resize (size_t size) |
Forward schedule-related methods to the underlying Func. More... | |
virtual std::string | get_c_type () const |
Forward schedule-related methods to the underlying Func. More... | |
void | check_value_writable () const override |
Forward schedule-related methods to the underlying Func. More... | |
const char * | input_or_output () const override |
Forward schedule-related methods to the underlying Func. More... | |
~GeneratorOutputBase () override | |
Forward schedule-related methods to the underlying Func. More... | |
Additional Inherited Members | |
![]() | |
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 |
![]() | |
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 2264 of file Generator.h.
|
protected |
Forward schedule-related methods to the underlying Func.
|
protected |
Forward schedule-related methods to the underlying Func.
|
override |
Forward schedule-related methods to the underlying Func.
|
inlineprotected |
Definition at line 2267 of file Generator.h.
References Halide::Internal::GIOBase::exprs_, Halide::Internal::GIOBase::funcs_, internal_assert, Halide::Internal::GIOBase::kind(), Halide::Internal::Scalar, and user_assert.
|
protected |
Forward schedule-related methods to the underlying Func.
|
protected |
Forward schedule-related methods to the underlying Func.
Referenced by Halide::Internal::GeneratorOutputImpl< T >::resize().
|
inlineprotectedvirtual |
Forward schedule-related methods to the underlying Func.
Reimplemented in Halide::Internal::GeneratorOutput_Buffer< T >.
Definition at line 2363 of file Generator.h.
|
overrideprotectedvirtual |
Forward schedule-related methods to the underlying Func.
Implements Halide::Internal::GIOBase.
Referenced by Halide::Internal::GeneratorOutput_Buffer< T >::operator=().
|
inlineoverrideprotectedvirtual |
Forward schedule-related methods to the underlying Func.
Implements Halide::Internal::GIOBase.
Definition at line 2369 of file Generator.h.