llvm-c166/libc/utils
Joseph Huber 40effc7af5
[libc] Implement (v|f)printf on the GPU (#96369)
Summary:
This patch implements the `printf` family of functions on the GPU using
the new variadic support. This patch adapts the old handling in the
`rpc_fprintf` placeholder, but adds an extra RPC call to get the size of
the buffer to copy. This prevents the GPU from needing to parse the
string. While it's theoretically possible for the pass to know the size
of the struct, it's prohibitively difficult to do while maintaining ABI
compatibility with NVIDIA's varargs.

Depends on https://github.com/llvm/llvm-project/pull/96015.
2024-07-12 19:36:13 -05:00
..
buildbot
docgen
gpu [libc] Implement (v|f)printf on the GPU (#96369) 2024-07-12 19:36:13 -05:00
HdrGen [libc] support out of tree build with dynlibs (#97959) 2024-07-07 12:18:57 -07:00
LibcTableGenUtil [libc] support out of tree build with dynlibs (#97959) 2024-07-07 12:18:57 -07:00
mathtools
MPFRWrapper [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) 2024-07-12 09:28:41 -07:00
CMakeLists.txt