Halide
12.0.1
Halide compiler and libraries
|
#include <Generator.h>
Inherits Halide::Internal::GeneratorInputBase.
Public Member Functions | |
template<typename T2 = T, typename std::enable_if< std::is_array< T2 >::value >::type * = nullptr> | |
size_t | size () const |
template<typename T2 = T, typename std::enable_if< std::is_array< T2 >::value >::type * = nullptr> | |
const ValueType & | operator[] (size_t i) const |
template<typename T2 = T, typename std::enable_if< std::is_array< T2 >::value >::type * = nullptr> | |
const ValueType & | at (size_t i) const |
template<typename T2 = T, typename std::enable_if< std::is_array< T2 >::value >::type * = nullptr> | |
std::vector< ValueType >::const_iterator | begin () const |
template<typename T2 = T, typename std::enable_if< std::is_array< T2 >::value >::type * = nullptr> | |
std::vector< ValueType >::const_iterator | end () const |
![]() | |
~GeneratorInputBase () override | |
![]() | |
bool | array_size_defined () const |
size_t | array_size () const |
const std::string & | name () const |
IOKind | kind () const |
bool | types_defined () const |
const std::vector< Type > & | types () const |
Type | type () const |
bool | dims_defined () const |
int | dims () const |
const std::vector< Func > & | funcs () const |
const std::vector< Expr > & | exprs () const |
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 std::remove_all_extents< T >::type |
Protected Member Functions | |
bool | is_array () const override |
template<typename T2 = T, typename std::enable_if< !std::is_array< T2 >::value >::type * = nullptr> | |
GeneratorInputImpl (const std::string &name, IOKind kind, const std::vector< Type > &t, int d) | |
template<typename T2 = T, typename std::enable_if< std::is_array< T2 >::value &&std::rank< T2 >::value==1 &&(std::extent< T2, 0 >::value > 0)>::type * = nullptr> | |
GeneratorInputImpl (const std::string &name, IOKind kind, const std::vector< Type > &t, int d) | |
template<typename T2 = T, typename std::enable_if< std::is_array< T2 >::value &&std::rank< T2 >::value==1 &&std::extent< T2, 0 >::value==0 >::type * = nullptr> | |
GeneratorInputImpl (const std::string &name, IOKind kind, const std::vector< Type > &t, int d) | |
![]() | |
GeneratorInputBase (size_t array_size, const std::string &name, IOKind kind, const std::vector< Type > &t, int d) | |
GeneratorInputBase (const std::string &name, IOKind 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) |
![]() | |
GIOBase (size_t array_size, const std::string &name, IOKind 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 | |
![]() | |
std::vector< Parameter > | parameters_ |
![]() | |
int | array_size_ |
const std::string | name_ |
const IOKind | kind_ |
std::vector< Type > | types_ |
int | dims_ |
std::vector< Func > | funcs_ |
std::vector< Expr > | exprs_ |
GeneratorBase * | generator {nullptr} |
Definition at line 1565 of file Generator.h.
|
protected |
Definition at line 1567 of file Generator.h.
|
inlineprotected |
Definition at line 1576 of file Generator.h.
|
inlineprotected |
Definition at line 1583 of file Generator.h.
|
inlineprotected |
Definition at line 1590 of file Generator.h.
|
inlineoverrideprotectedvirtual |
Reimplemented from Halide::Internal::GIOBase.
Definition at line 1569 of file Generator.h.
|
inline |
Definition at line 1596 of file Generator.h.
References Halide::Internal::GIOBase::check_gio_access().
|
inline |
Definition at line 1602 of file Generator.h.
References Halide::Internal::GIOBase::check_gio_access().
|
inline |
Definition at line 1608 of file Generator.h.
References Halide::Internal::GIOBase::check_gio_access().
|
inline |
Definition at line 1614 of file Generator.h.
References Halide::Internal::GIOBase::check_gio_access().
|
inline |
Definition at line 1620 of file Generator.h.
References Halide::Internal::GIOBase::check_gio_access().