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 2112 of file Generator.h.

Member Typedef Documentation

◆ TBase

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

Definition at line 2117 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 2127 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 2130 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 2134 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 2138 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 2142 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 2147 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 2152 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 2156 of file Generator.h.

◆ GeneratorInput() [8/12]

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

Definition at line 2161 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 2165 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 2169 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 2175 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 2179 of file Generator.h.


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