[PATCH] D120697: [clang-offload-bundler] HIP and OpenMP comaptibility for linking heterogeneous archive library
Saiyedul Islam via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 28 22:46:47 PST 2022
saiislam created this revision.
saiislam added reviewers: yaxunl, jdoerfert, JonChesterfield.
Herald added a subscriber: guansong.
saiislam requested review of this revision.
Herald added subscribers: cfe-commits, sstefan1.
Herald added a project: clang.
`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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D120697
Files:
clang/lib/Driver/ToolChains/CommonArgs.cpp
clang/test/Driver/clang-offload-bundler-asserts-on.c
clang/test/Driver/clang-offload-bundler.c
clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120697.411977.patch
Type: text/x-patch
Size: 6617 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220301/48192ed0/attachment-0001.bin>
More information about the cfe-commits
mailing list