This is an archive of the discontinued LLVM Phabricator instance.

[HIP] Allow the new driver to compile HIP in non-RDC mode
ClosedPublic

Authored by jhuber6 on Jul 14 2022, 8:51 AM.

Details

Summary

The new driver primarily allows us to support RDC-mode compilations with
proper linking. This is not needed for non-RDC mode compilation, but we
still would like the new driver to be able to handle this mode so we can
transition away from the old driver in the future. This patch adds the
necessary code to support creating a fatbinary for HIP code generation.

Diff Detail

Event Timeline

jhuber6 created this revision.Jul 14 2022, 8:51 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 14 2022, 8:51 AM
jhuber6 requested review of this revision.Jul 14 2022, 8:51 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 14 2022, 8:51 AM
yaxunl accepted this revision.Jul 20 2022, 1:47 PM

LGTM. Thanks.

This revision is now accepted and ready to land.Jul 20 2022, 1:47 PM
This revision was automatically updated to reflect the committed changes.