diff options
author | Saiyedul Islam <Saiyedul.Islam@amd.com> | 2022-03-01 06:31:57 +0000 |
---|---|---|
committer | Saiyedul Islam <Saiyedul.Islam@amd.com> | 2022-03-02 07:55:06 +0000 |
commit | 7a02abf06ff94762d8cbce71d0249df25d64721b (patch) | |
tree | eb19e6b3bdfdbfc4d8f0e33f7efc9936582273c6 /llvm/lib/Object/COFFObjectFile.cpp | |
parent | 0e38b295435bf49c21e9ff97354a855ac8c78c7e (diff) | |
download | llvm-7a02abf06ff94762d8cbce71d0249df25d64721b.zip llvm-7a02abf06ff94762d8cbce71d0249df25d64721b.tar.gz llvm-7a02abf06ff94762d8cbce71d0249df25d64721b.tar.bz2 |
[clang-offload-bundler] HIP and OpenMP comaptibility for linking heterogeneous archive library
`hip-openmp-compatible` flag treats hip and hipv4 offload kinds
as compatible with openmp offload kind while extracting code objects
from a heterogenous archive library. Vice versa is also considered
compatible if hip code was compiled with -fgpu-rdc.
This flag only relaxes compatibility criteria on `OffloadKind`,
rest of the components like `Triple` and `GPUArhc` still needs to
be compatible.
Reviewed By: yaxunl
Differential Revision: https://reviews.llvm.org/D120697
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions