This is an archive of the discontinued LLVM Phabricator instance.

[HIP] Fix -fgpu-allow-device-init option
ClosedPublic

Authored by yaxunl on Sep 30 2020, 3:25 AM.

Details

Summary

The option needs to be passed to both host and device compilation.

Diff Detail

Event Timeline

yaxunl requested review of this revision.Sep 30 2020, 3:25 AM
yaxunl created this revision.
tra accepted this revision.Sep 30 2020, 9:33 AM
This revision is now accepted and ready to land.Sep 30 2020, 9:33 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptOct 4 2020, 7:17 PM