Halide
Halide::Internal::GeneratorInput_Buffer< T > Class Template Reference

#include <Generator.h>

Public Member Functions

 GeneratorInput_Buffer (const std::string &name)
 
 GeneratorInput_Buffer (const std::string &name, const Type &t, int d)
 
 GeneratorInput_Buffer (const std::string &name, const Type &t)
 
 GeneratorInput_Buffer (const std::string &name, int d)
 
template<typename... Args>
Expr operator() (Args &&...args) const
 
Expr operator() (std::vector< Expr > args) const
 
template<typename T2 >
 operator StubInputBuffer< T2 > () const
 
 operator Func () const
 
 operator ExternFuncArgument () const
 
GeneratorInput_Buffer< T > & set_estimate (Var var, Expr min, Expr extent)
 
GeneratorInput_Buffer< T > & set_estimates (const Region &estimates)
 
Func in ()
 
Func in (const Func &other)
 
Func in (const std::vector< Func > &others)
 
 operator ImageParam () const
 
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>
ImageParam operator[] (size_t i) const
 
template<typename T2 = T, typename std::enable_if< std::is_array< T2 >::value >::type * = nullptr>
ImageParam at (size_t i) const
 
template<typename T2 = T, typename std::enable_if< std::is_array< T2 >::value >::type * = nullptr>
std::vector< ImageParam >::const_iterator begin () const
 
template<typename T2 = T, typename std::enable_if< std::is_array< T2 >::value >::type * = nullptr>
std::vector< ImageParam >::const_iterator end () const
 

Protected Types

using TBase = typename Super::TBase
 

Protected Member Functions

std::string get_c_type () const override
 
template<typename T2 >
T2 as () const
 

Detailed Description

template<typename T>
class Halide::Internal::GeneratorInput_Buffer< T >

Definition at line 1249 of file Generator.h.

Member Typedef Documentation

◆ TBase

template<typename T >
using Halide::Internal::GeneratorInput_Buffer< T >::TBase = typename Super::TBase
protected

Definition at line 1667 of file Generator.h.

Constructor & Destructor Documentation

◆ GeneratorInput_Buffer() [1/4]

template<typename T >
Halide::Internal::GeneratorInput_Buffer< T >::GeneratorInput_Buffer ( const std::string &  name)
inlineexplicit

Definition at line 1688 of file Generator.h.

◆ GeneratorInput_Buffer() [2/4]

template<typename T >
Halide::Internal::GeneratorInput_Buffer< T >::GeneratorInput_Buffer ( const std::string &  name,
const Type t,
int  d 
)
inline

Definition at line 1694 of file Generator.h.

◆ GeneratorInput_Buffer() [3/4]

template<typename T >
Halide::Internal::GeneratorInput_Buffer< T >::GeneratorInput_Buffer ( const std::string &  name,
const Type t 
)
inline

Definition at line 1700 of file Generator.h.

◆ GeneratorInput_Buffer() [4/4]

template<typename T >
Halide::Internal::GeneratorInput_Buffer< T >::GeneratorInput_Buffer ( const std::string &  name,
int  d 
)
inline

Definition at line 1705 of file Generator.h.

Member Function Documentation

◆ get_c_type()

template<typename T >
std::string Halide::Internal::GeneratorInput_Buffer< T >::get_c_type ( ) const
inlineoverrideprotected

Definition at line 1672 of file Generator.h.

References Halide::Internal::halide_type_to_c_type().

◆ as()

template<typename T >
template<typename T2 >
T2 Halide::Internal::GeneratorInput_Buffer< T >::as ( ) const
inlineprotected

Definition at line 1683 of file Generator.h.

◆ operator()() [1/2]

template<typename T >
template<typename... Args>
Expr Halide::Internal::GeneratorInput_Buffer< T >::operator() ( Args &&...  args) const
inline

Definition at line 1713 of file Generator.h.

◆ operator()() [2/2]

template<typename T >
Expr Halide::Internal::GeneratorInput_Buffer< T >::operator() ( std::vector< Expr args) const
inline

Definition at line 1718 of file Generator.h.

◆ operator StubInputBuffer< T2 >()

template<typename T >
template<typename T2 >
Halide::Internal::GeneratorInput_Buffer< T >::operator StubInputBuffer< T2 > ( ) const
inline

Definition at line 1724 of file Generator.h.

References user_assert.

◆ operator Func()

template<typename T >
Halide::Internal::GeneratorInput_Buffer< T >::operator Func ( ) const
inline

Definition at line 1729 of file Generator.h.

◆ operator ExternFuncArgument()

template<typename T >
Halide::Internal::GeneratorInput_Buffer< T >::operator ExternFuncArgument ( ) const
inline

Definition at line 1734 of file Generator.h.

◆ set_estimate()

template<typename T >
GeneratorInput_Buffer<T>& Halide::Internal::GeneratorInput_Buffer< T >::set_estimate ( Var  var,
Expr  min,
Expr  extent 
)
inline

Definition at line 1739 of file Generator.h.

References Halide::min().

◆ set_estimates()

template<typename T >
GeneratorInput_Buffer<T>& Halide::Internal::GeneratorInput_Buffer< T >::set_estimates ( const Region estimates)
inline

Definition at line 1745 of file Generator.h.

◆ in() [1/3]

template<typename T >
Func Halide::Internal::GeneratorInput_Buffer< T >::in ( )
inline

Definition at line 1751 of file Generator.h.

References Halide::Func::in().

◆ in() [2/3]

template<typename T >
Func Halide::Internal::GeneratorInput_Buffer< T >::in ( const Func other)
inline

Definition at line 1756 of file Generator.h.

References Halide::Func::in().

◆ in() [3/3]

template<typename T >
Func Halide::Internal::GeneratorInput_Buffer< T >::in ( const std::vector< Func > &  others)
inline

Definition at line 1761 of file Generator.h.

References Halide::Func::in().

◆ operator ImageParam()

template<typename T >
Halide::Internal::GeneratorInput_Buffer< T >::operator ImageParam ( ) const
inline

Definition at line 1766 of file Generator.h.

References user_assert.

◆ size()

template<typename T >
template<typename T2 = T, typename std::enable_if< std::is_array< T2 >::value >::type * = nullptr>
size_t Halide::Internal::GeneratorInput_Buffer< T >::size ( ) const
inline

Definition at line 1773 of file Generator.h.

◆ operator[]()

template<typename T >
template<typename T2 = T, typename std::enable_if< std::is_array< T2 >::value >::type * = nullptr>
ImageParam Halide::Internal::GeneratorInput_Buffer< T >::operator[] ( size_t  i) const
inline

Definition at line 1779 of file Generator.h.

◆ at()

template<typename T >
template<typename T2 = T, typename std::enable_if< std::is_array< T2 >::value >::type * = nullptr>
ImageParam Halide::Internal::GeneratorInput_Buffer< T >::at ( size_t  i) const
inline

Definition at line 1785 of file Generator.h.

◆ begin()

template<typename T >
template<typename T2 = T, typename std::enable_if< std::is_array< T2 >::value >::type * = nullptr>
std::vector<ImageParam>::const_iterator Halide::Internal::GeneratorInput_Buffer< T >::begin ( ) const
inline

Definition at line 1791 of file Generator.h.

References user_error.

◆ end()

template<typename T >
template<typename T2 = T, typename std::enable_if< std::is_array< T2 >::value >::type * = nullptr>
std::vector<ImageParam>::const_iterator Halide::Internal::GeneratorInput_Buffer< T >::end ( ) const
inline

Definition at line 1797 of file Generator.h.

References user_error.


The documentation for this class was generated from the following file: