[all-commits] [llvm/llvm-project] 2cf811: [Libomptarget] Add RPC-based `printf` implementati...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Tue Apr 2 14:36:57 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2cf8118e3aa60f406ec41e88bdd4304f39744e89
https://github.com/llvm/llvm-project/commit/2cf8118e3aa60f406ec41e88bdd4304f39744e89
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-04-02 (Tue, 02 Apr 2024)
Changed paths:
M openmp/libomptarget/DeviceRTL/CMakeLists.txt
M openmp/libomptarget/DeviceRTL/src/LibC.cpp
A openmp/libomptarget/test/libc/printf.c
Log Message:
-----------
[Libomptarget] Add RPC-based `printf` implementation for OpenMP (#85638)
Summary:
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 https://github.com/llvm/llvm-project/pull/85331
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list