This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Remove the new runtime default for AMDGPU
ClosedPublic

Authored by jhuber6 on Dec 2 2021, 9:29 AM.

Details

Summary

The new runtime is currently broken for AMD offloading. This patch makes
the default the old runtime only for the AMD target.

Diff Detail

Event Timeline

jhuber6 created this revision.Dec 2 2021, 9:29 AM
jhuber6 requested review of this revision.Dec 2 2021, 9:29 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 2 2021, 9:29 AM

I feel like I should make these options only enabled if we're in an OpenMP device. I just realized that this will probably enable it for anything that goes through here, even non-OpenMP.

I feel like I should make these options only enabled if we're in an OpenMP device. I just realized that this will probably enable it for anything that goes through here, even non-OpenMP.

Well it's only for OpenMP with -fopenmp, but I guess it's fine to have that flag in the cc1 options even if offloading isn't used.

ronlieb accepted this revision.Dec 2 2021, 9:35 AM
This revision is now accepted and ready to land.Dec 2 2021, 9:35 AM
This revision was landed with ongoing or failed builds.Dec 2 2021, 9:36 AM
This revision was automatically updated to reflect the committed changes.