diff options
author | Tobias Burnus <tburnus@baylibre.com> | 2025-04-17 10:21:05 +0200 |
---|---|---|
committer | Tobias Burnus <tburnus@baylibre.com> | 2025-04-17 10:21:05 +0200 |
commit | 4bff3f0b89af9a9aad69b8f85859c0a3667533ae (patch) | |
tree | b3dc1ff6451352b338f4fcd78ced3de9630eed1b /libjava/classpath/lib/javax/management | |
parent | 0eae20c899e327aec0e48b9ff2d856aba44b2639 (diff) | |
download | gcc-4bff3f0b89af9a9aad69b8f85859c0a3667533ae.zip gcc-4bff3f0b89af9a9aad69b8f85859c0a3667533ae.tar.gz gcc-4bff3f0b89af9a9aad69b8f85859c0a3667533ae.tar.bz2 |
libgomp.texi: For HIP interop, mention cpp defines to set
The HIP header files recognize the used compiler, defaulting to either AMD
or Nvidia/CUDA; thus, the alternative way of explicitly defining a macro is
less prominently documented. With GCC, the user has to define the
preprocessor macro manually. Hence, as a service to the user, mention
__HIP_PLATFORM_AMD__ and __HIP_PLATFORM_NVIDIA__ in the interop documentation,
even though it has only indirectly to do with GCC and its interop support.
Note to commit-log readers, only: For Fortran, the hipfort modules can be
used; when compiling the hipfort package (defaults to use gfortran), it
generates the module (*.mod) files in include/hipfort/{amdgcn,nvidia}/ such
that the choice is made by setting the respective include path.
libgomp/ChangeLog:
* libgomp.texi (gcn interop, nvptx interop): For HIP with C/C++, add
a note about setting a preprocessor define.
Diffstat (limited to 'libjava/classpath/lib/javax/management')
0 files changed, 0 insertions, 0 deletions