[clang] [HIP] Link the LLVM libc libraries in no-RDC mode (PR #151046)

via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 29 07:56:46 PDT 2025


b-sumner wrote:

> We already provide a subset of C library calls in HIP device code, so it's mostly a question of which ones and where. Though, I suppose they're not 'true' C library calls because we rewrite them in headers to some different name.

If you mean printf, assert, and malloc, each one of those went through the process and are documented and tested.  We cannot simply drop in the remainder with just a PR.  



https://github.com/llvm/llvm-project/pull/151046


More information about the cfe-commits mailing list