This is an archive of the discontinued LLVM Phabricator instance.

[HIP] Generate offloading entries for HIP with the new driver.
ClosedPublic

Authored by jhuber6 on Jun 29 2022, 12:55 PM.

Details

Summary

This patch adds the small change required to output offloading entried
for HIP instead of CUDA. These should be placed in different sections so
because they need to be distinct to the offloading toolchain, otherwise
we'd have HIP trying to register CUDA kernels or vice-versa. This patch will
precede support for HIP in the linker wrapper.

Diff Detail

Event Timeline

jhuber6 created this revision.Jun 29 2022, 12:55 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 29 2022, 12:55 PM
jhuber6 requested review of this revision.Jun 29 2022, 12:55 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 29 2022, 12:55 PM
tra accepted this revision.Jun 29 2022, 1:27 PM
This revision is now accepted and ready to land.Jun 29 2022, 1:27 PM
yaxunl accepted this revision.Jul 5 2022, 10:30 AM

LGTM. Thanks.