This PR fixes a compile error with Intel's Beignet drivers, where INFINITY is not a compile-time constant but defined in terms of the function __ocl_inff().
Semi-finite bounds are now defined in terms of FLT_MAX, which is guaranteed to be a compile-time constant.
This PR fixes a compile error with Intel's Beignet drivers, where
INFINITY
is not a compile-time constant but defined in terms of the function__ocl_inff()
.Semi-finite bounds are now defined in terms of
FLT_MAX
, which is guaranteed to be a compile-time constant.