libclc: clspv: fma: remove fp16 implementation (#135002)

clspv is already handling generation of fp16. This implementation is
preventing clspv from making the best choice to use an emulation on top
of fp32-fma, or the native fp16-fma, depending on the command-line
arguments.
This commit is contained in:
Romaric Jodin 2025-04-10 11:01:57 +02:00 committed by GitHub
parent a625bc60e2
commit 135a7874dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,13 +12,3 @@
_CLC_DEFINE_TERNARY_BUILTIN(float, fma, __clc_sw_fma, float, float, float)
#ifdef cl_khr_fp16
#pragma OPENCL EXTENSION cl_khr_fp16 : enable
_CLC_DEF _CLC_OVERLOAD half fma(half a, half b, half c) {
return (half)mad((float)a, (float)b, (float)c);
}
_CLC_TERNARY_VECTORIZE(_CLC_DEF _CLC_OVERLOAD, half, fma, half, half, half)
#endif