[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
Loading
Please register or sign in to comment