Returns minimal possible value as identity for MAX operations.
More...
#include <sycl/known_identity.hpp>
|
static constexpr AccumulatorT | value |
|
template<typename BinaryOperation, typename AccumulatorT>
struct sycl::_V1::detail::known_identity_impl< BinaryOperation, AccumulatorT, std::enable_if_t< IsMaximumIdentityOp< AccumulatorT, BinaryOperation >::value > >
Returns minimal possible value as identity for MAX operations.
Definition at line 301 of file known_identity.hpp.
◆ value
template<typename BinaryOperation , typename AccumulatorT >
Initial value:= static_cast<AccumulatorT>(
std::numeric_limits<AccumulatorT>::has_infinity
? static_cast<AccumulatorT>(
-std::numeric_limits<AccumulatorT>::infinity())
: std::numeric_limits<AccumulatorT>::lowest())
Definition at line 304 of file known_identity.hpp.
The documentation for this struct was generated from the following file: