diff options
author | Joseph Huber <huberjn@outlook.com> | 2024-04-10 13:35:04 -0500 |
---|---|---|
committer | Joseph Huber <huberjn@outlook.com> | 2024-04-10 13:36:25 -0500 |
commit | f81879c0f70ee5a1cf1d5b716dfd49d1a271cc2d (patch) | |
tree | 84c5431779fa2051b8b411fb4bf178a236fb4306 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 0a1317564a6b437760d96f0a227a3c910875428d (diff) | |
download | llvm-f81879c0f70ee5a1cf1d5b716dfd49d1a271cc2d.zip llvm-f81879c0f70ee5a1cf1d5b716dfd49d1a271cc2d.tar.gz llvm-f81879c0f70ee5a1cf1d5b716dfd49d1a271cc2d.tar.bz2 |
[Libomptarget] Add RPC-based printf implementation for OpenMP #85638
Summary:
Relanding after reverting, only applies to AMDGPU for now.
This patch adds an implementation of printf that's provided by the GPU
C library runtime. This pritnf currently implemented using the same
wrapper handling that OpenMP sets up. This will be removed once we have
proper varargs support.
This printf differs from the one CUDA offers in that it is synchronous
and uses a finite size. Additionally we support pretty much every
format specifier except the %n option.
Depends on #85331
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions