mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-21 09:46:49 +00:00
libclc: add half version of 'sign' (#99841)
This commit is contained in:
parent
16e05919d9
commit
46223b5eae
@ -26,3 +26,12 @@ SIGN(double, )
|
||||
_CLC_UNARY_VECTORIZE(_CLC_OVERLOAD _CLC_DEF, double, sign, double)
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef cl_khr_fp16
|
||||
|
||||
#pragma OPENCL EXTENSION cl_khr_fp16 : enable
|
||||
|
||||
SIGN(half,)
|
||||
_CLC_UNARY_VECTORIZE(_CLC_OVERLOAD _CLC_DEF, half, sign, half)
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user