Files
clang-p2996/openmp/libomptarget
Joseph Huber f81879c0f7 [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
2024-04-10 13:36:25 -05:00
..

    README for the LLVM* OpenMP* Offloading Runtime Library (libomptarget)
    ======================================================================

For details about building, please look at README.rst in the parent directory
and the build instructions as well as FAQ at https://openmp.llvm.org.

Architectures Supported
=======================
The current library has been only tested in Linux operating system and the
following host architectures:
* Intel(R) 64 architecture
* IBM(R) Power architecture (big endian)
* IBM(R) Power architecture (little endian)
* ARM(R) AArch64 architecture (little endian)

The currently supported offloading device architectures are:
* Intel(R) or AMD(R) 64-bit architecture (x86_64)
* IBM(R) Power architecture (big endian)
* IBM(R) Power architecture (little endian)
* ARM(R) AArch64 architecture (little endian)
* CUDA(R) enabled 64-bit NVIDIA(R) GPU architectures
* AMD(R) enabled 64-bit AMD(R) GPU architectures

-----------------------------------------------------------------------

*Other names and brands may be claimed as the property of others.