Page MenuHomePhabricator

[HIP] Use -mlink-builtin-bitcode to link device library

Authored by yaxunl on Apr 10 2019, 8:04 AM.



Use -mlink-builtin-bitcode instead of llvm-link to link
device library so that device library bitcode and user
device code can be compiled in a consistent way.

This is the same approach used by CUDA and OpenMP.

Diff Detail

Event Timeline

yaxunl created this revision.Apr 10 2019, 8:04 AM
ashi1 accepted this revision.Apr 10 2019, 10:54 AM


This revision is now accepted and ready to land.Apr 10 2019, 10:54 AM
tra accepted this revision.Apr 10 2019, 12:01 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptApr 12 2019, 9:22 AM