255 template<
typename Tx,
typename Ty>
256 struct Max<
MaxStdLib, Tx, Ty, std::enable_if_t<std::is_arithmetic_v<Tx> && std::is_arithmetic_v<Ty>>>
263 if constexpr(std::is_integral_v<Tx> && std::is_integral_v<Ty>)
266 is_decayed_v<Tx, float> || is_decayed_v<Ty, float> || is_decayed_v<Tx, double>
267 || is_decayed_v<Ty, double>)
270 static_assert(!
sizeof(Tx),
"Unsupported data type");
277 template<
typename Tx,
typename Ty>
278 struct Min<
MinStdLib, Tx, Ty, std::enable_if_t<std::is_arithmetic_v<Tx> && std::is_arithmetic_v<Ty>>>
285 if constexpr(std::is_integral_v<Tx> && std::is_integral_v<Ty>)
288 is_decayed_v<Tx, float> || is_decayed_v<Ty, float> || is_decayed_v<Tx, double>
289 || is_decayed_v<Ty, double>)
292 static_assert(!
sizeof(Tx),
"Unsupported data type");
#define ALPAKA_UNREACHABLE(...)
Before CUDA 11.5 nvcc is unable to correctly identify return statements in 'if constexpr' branches....
The standard library abs, implementation covered by the general template.
The standard library acos, implementation covered by the general template.
The standard library acos, implementation covered by the general template.
The standard library arg, implementation covered by the general template.
The standard library asin, implementation covered by the general template.
The standard library asinh, implementation covered by the general template.
The standard library atan2, implementation covered by the general template.
The standard library atan, implementation covered by the general template.
The standard library atanh, implementation covered by the general template.
The standard library cbrt, implementation covered by the general template.
The standard library ceil, implementation covered by the general template.
The standard library conj, implementation covered by the general template.
The standard library copysign, implementation covered by the general template.
The standard library cos, implementation covered by the general template.
The standard library cosh, implementation covered by the general template.
The standard library erf, implementation covered by the general template.
The standard library exp, implementation covered by the general template.
The standard library floor, implementation covered by the general template.
The standard library fma, implementation covered by the general template.
The standard library fmod, implementation covered by the general template.
The standard library isfinite, implementation covered by the general template.
The standard library isinf, implementation covered by the general template.
The standard library isnan, implementation covered by the general template.
The standard library log10, implementation covered by the general template.
The standard library log2, implementation covered by the general template.
The standard library log, implementation covered by the general template.
The standard library math trait specializations.
The standard library max.
The standard library min.
The standard library pow, implementation covered by the general template.
The standard library remainder, implementation covered by the general template.
The standard library round, implementation covered by the general template.
The standard library rsqrt, implementation covered by the general template.
The standard library sincos, implementation covered by the general template.
The standard library sin, implementation covered by the general template.
The standard library sinh, implementation covered by the general template.
The standard library sqrt, implementation covered by the general template.
The standard library tan, implementation covered by the general template.
The standard library tanh, implementation covered by the general template.
The standard library trunc, implementation covered by the general template.
ALPAKA_NO_HOST_ACC_WARNING ALPAKA_FN_HOST_ACC auto max(T const &max_ctx, Tx const &x, Ty const &y)
Returns the larger of two arguments. NaNs are treated as missing data (between a NaN and a numeric va...
ALPAKA_NO_HOST_ACC_WARNING ALPAKA_FN_HOST_ACC auto min(T const &min_ctx, Tx const &x, Ty const &y)
Returns the smaller of two arguments. NaNs are treated as missing data (between a NaN and a numeric v...
Tag used in class inheritance hierarchies that describes that a specific interface (TInterface) is im...
ALPAKA_FN_HOST auto operator()(MaxStdLib const &, Tx const &x, Ty const &y)
ALPAKA_FN_HOST auto operator()(MinStdLib const &, Tx const &x, Ty const &y)