[libc-commits] [libc] [libc] Implement temporary `printf` on the GPU (PR #85331)
Jon Chesterfield via libc-commits
libc-commits at lists.llvm.org
Tue Mar 19 06:48:14 PDT 2024
JonChesterfield wrote:
I haven't decoded the implementation.
A stop-gap implementation that hangs off the openmp special casing of printf seems broadly reasonable.
I'd suggest going _much_ heavier on testing though. Especially since said tests will remain valid and useful if this implementation is replaced. Perhaps libc already has some large number of printf style tests that will run on the GPU (successfully) with this shim in place?
https://github.com/llvm/llvm-project/pull/85331
More information about the libc-commits
mailing list