Halide
Halide::Internal::GeneratorMinMax Namespace Reference

Functions

template<typename Other , typename T >
decltype(min((Other) 0,(T) 1)) min_forward (const Other &a, const GeneratorParam< T > &b)
 
template<typename Other , typename T >
decltype(min((T) 0,(Other) 1)) min_forward (const GeneratorParam< T > &a, const Other &b)
 
template<typename Other , typename T >
decltype(max((Other) 0,(T) 1)) max_forward (const Other &a, const GeneratorParam< T > &b)
 
template<typename Other , typename T >
decltype(max((T) 0,(Other) 1)) max_forward (const GeneratorParam< T > &a, const Other &b)
 

Function Documentation

◆ min_forward() [1/2]

template<typename Other , typename T >
decltype(min((Other)0, (T)1)) Halide::Internal::GeneratorMinMax::min_forward ( const Other &  a,
const GeneratorParam< T > &  b 
)

Definition at line 941 of file Generator.h.

References Halide::min().

Referenced by Halide::min().

◆ min_forward() [2/2]

template<typename Other , typename T >
decltype(min((T)0, (Other)1)) Halide::Internal::GeneratorMinMax::min_forward ( const GeneratorParam< T > &  a,
const Other &  b 
)

Definition at line 943 of file Generator.h.

References Halide::min().

◆ max_forward() [1/2]

template<typename Other , typename T >
decltype(max((Other)0, (T)1)) Halide::Internal::GeneratorMinMax::max_forward ( const Other &  a,
const GeneratorParam< T > &  b 
)

Definition at line 946 of file Generator.h.

References Halide::max().

Referenced by Halide::max().

◆ max_forward() [2/2]

template<typename Other , typename T >
decltype(max((T)0, (Other)1)) Halide::Internal::GeneratorMinMax::max_forward ( const GeneratorParam< T > &  a,
const Other &  b 
)

Definition at line 948 of file Generator.h.

References Halide::max().