This is an archive of the discontinued LLVM Phabricator instance.

[Libomptarget] Revert changes to AMDGPU plugin destructors
ClosedPublic

Authored by jhuber6 on Sep 15 2022, 5:22 PM.

Details

Summary

These patches exposed a lot of problems in the AMD toolchain. Rather
than keep it broken we should revert it to its old semi-functional
state. This will prevent us from using device destructors but should
remove some new bugs. In the future this interface should be changed
once these problems are addressed more correctly.

This reverts commit ed0f21811544320f829124efbb6a38ee12eb9155.

This reverts commit 2b7203a35972e98b8521f92d2791043dc539ae88.

Fixes #57536

Diff Detail

Event Timeline

jhuber6 created this revision.Sep 15 2022, 5:22 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 15 2022, 5:22 PM
jhuber6 requested review of this revision.Sep 15 2022, 5:22 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 15 2022, 5:22 PM
jdoerfert accepted this revision.Sep 15 2022, 5:27 PM

LG, we will work on proper fixes but unblock ppl in the meantime.

This revision is now accepted and ready to land.Sep 15 2022, 5:27 PM