[clang] [Clang] Support fp16 in libdevice for CUDA 13.3 (PR #174005)
Artem Belevich via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 6 16:50:50 PST 2026
Artem-B wrote:
AFAICT, all small FP types in CUDA (as implemented by NVCC) had been historically handled via opaque integer types with header-only implementation of operations on them. Clang does have native fp16 (and bf16 these days?) support enabled, but it's rarely used, because it's not portable.
That's most likely the reason that libdevice has to resort to integer types to remain compatible with the existing implementation of those types.
https://github.com/llvm/llvm-project/pull/174005
More information about the cfe-commits
mailing list