arsenm added inline comments.
================
Comment at: clang/lib/Headers/__clang_hip_libdevice_declares.h:319
+// relevant.
+__device__ inline _Float16 __llvm_amdgcn_rcp_f16(_Float16 x) {
+ return ((_Float16)1.0f) / x;
----------------
arsenm wrote:
> yaxunl wrote:
> > Can we add the deprecated attribute to urge people not to use them?
> I initially added those, but thought it was a bit aggressive to put in always
> included headers. Is there an established practice for deprecating builtin
> header functions?
Is there a hip header version macro I could guard this on?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155982/new/
https://reviews.llvm.org/D155982
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits