"git@developer.sourcefind.cn:modelzoo/resnet50_tensorflow.git" did not exist on "625af9629ee99319cdce0f912fff8705914aefc1"
Fix compilation errors with libc++ (#1461)
This fixes 2 issues when compiled with libc++.
First issue is attempt to call std::numeric_limits<ranges::range_value_t<_Float16>>::min().
_Float16 is extension of libstdc++, it does not exist in C++ standard[2].
Luckily, there is NumericLimits class in composable_kernel, which does everything needed.
Second issue with call to 'check_err' is ambiguous: there are 2 candidates.
It happens because composable_kernel relies on idea that f8_t (defined as _BitInt(8)) does not pass is_integral trait.
However, libc++ treats _BitInt(N) as integral (per standard "any implementation-defined extended integer types" can be integral).
Closes: #1460
Signed-off-by:
Sv. Lockal <lockalsash@gmail.com>
Showing
Please register or sign in to comment