Halide
Halide::GeneratorInput< T > Class Template Reference

#include <Generator.h>

Inherits GeneratorInputImplBase< T >.

Public Member Functions

 GeneratorInput (const std::string &name)
 
 GeneratorInput (const std::string &name, const TBase &def)
 
 GeneratorInput (size_t array_size, const std::string &name, const TBase &def)
 
 GeneratorInput (const std::string &name, const TBase &def, const TBase &min, const TBase &max)
 
 GeneratorInput (size_t array_size, const std::string &name, const TBase &def, const TBase &min, const TBase &max)
 
 GeneratorInput (const std::string &name, const Type &t, int d)
 
 GeneratorInput (const std::string &name, const Type &t)
 
 GeneratorInput (const std::string &name, IntIfNonScalar d)
 
 GeneratorInput (size_t array_size, const std::string &name, const Type &t, int d)
 
 GeneratorInput (size_t array_size, const std::string &name, const Type &t)
 
 GeneratorInput (size_t array_size, const std::string &name, IntIfNonScalar d)
 
 GeneratorInput (size_t array_size, const std::string &name)
 

Protected Types

using TBase = typename Super::TBase
 
using IntIfNonScalar = typename Internal::select_type< Internal::cond< Internal::has_static_halide_type_method< TBase >::value, int >, Internal::cond< std::is_same< TBase, Func >::value, int >, Internal::cond< true, Unused > >::type
 

Detailed Description

template<typename T>
class Halide::GeneratorInput< T >

Definition at line 1666 of file Generator.h.

Member Typedef Documentation

◆ TBase

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

Definition at line 1670 of file Generator.h.

◆ IntIfNonScalar

template<typename T >
using Halide::GeneratorInput< T >::IntIfNonScalar = typename Internal::select_type< Internal::cond<Internal::has_static_halide_type_method<TBase>::value, int>, Internal::cond<std::is_same<TBase, Func>::value, int>, Internal::cond<true, Unused> >::type
protected

Definition at line 1681 of file Generator.h.

Constructor & Destructor Documentation

◆ GeneratorInput() [1/12]

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

Definition at line 1684 of file Generator.h.

◆ GeneratorInput() [2/12]

template<typename T >
Halide::GeneratorInput< T >::GeneratorInput ( const std::string &  name,
const TBase def 
)
inline

Definition at line 1688 of file Generator.h.

◆ GeneratorInput() [3/12]

template<typename T >
Halide::GeneratorInput< T >::GeneratorInput ( size_t  array_size,
const std::string &  name,
const TBase def 
)
inline

Definition at line 1692 of file Generator.h.

◆ GeneratorInput() [4/12]

template<typename T >
Halide::GeneratorInput< T >::GeneratorInput ( const std::string &  name,
const TBase def,
const TBase min,
const TBase max 
)
inline

Definition at line 1696 of file Generator.h.

◆ GeneratorInput() [5/12]

template<typename T >
Halide::GeneratorInput< T >::GeneratorInput ( size_t  array_size,
const std::string &  name,
const TBase def,
const TBase min,
const TBase max 
)
inline

Definition at line 1701 of file Generator.h.

◆ GeneratorInput() [6/12]

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

Definition at line 1706 of file Generator.h.

◆ GeneratorInput() [7/12]

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

Definition at line 1710 of file Generator.h.

◆ GeneratorInput() [8/12]

template<typename T >
Halide::GeneratorInput< T >::GeneratorInput ( const std::string &  name,
IntIfNonScalar  d 
)
inline

Definition at line 1715 of file Generator.h.

◆ GeneratorInput() [9/12]

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

Definition at line 1719 of file Generator.h.

◆ GeneratorInput() [10/12]

template<typename T >
Halide::GeneratorInput< T >::GeneratorInput ( size_t  array_size,
const std::string &  name,
const Type t 
)
inline

Definition at line 1723 of file Generator.h.

◆ GeneratorInput() [11/12]

template<typename T >
Halide::GeneratorInput< T >::GeneratorInput ( size_t  array_size,
const std::string &  name,
IntIfNonScalar  d 
)
inline

Definition at line 1729 of file Generator.h.

◆ GeneratorInput() [12/12]

template<typename T >
Halide::GeneratorInput< T >::GeneratorInput ( size_t  array_size,
const std::string &  name 
)
inline

Definition at line 1733 of file Generator.h.


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