"vscode:/vscode.git/clone" did not exist on "322d2eb7044291d7bb581f3a38e58c4ff54fa0e4"
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