[libc-commits] [libc] [libc] Fix linking of AMDGPU device runtime control constants for math (PR #65676)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Fri Sep 8 08:51:00 PDT 2023


jhuber6 wrote:

> It's sad that the device libs need awkward linking but also very long standing. Either link them awkwardly, don't use them, or link them incorrectly and hope the failure modes don't show up in bug reports. I favour don't use them for libc.

We need to use them right now since we're using `ocml.bc` to generate the math libraries. The end goal is to remove this completely however, this is merely a stopgap.

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


More information about the libc-commits mailing list