This is an archive of the discontinued LLVM Phabricator instance.

[libomptarget][nfc] Refactor amdgpu partial barrier to simplify adding a second one
ClosedPublic

Authored by JonChesterfield on May 6 2021, 12:43 PM.

Details

Summary

[libomptarget][nfc] Refactor amdgpu partial barrier to simplify adding a second one

D101976 would require a second barrier instance. This NFC to amdgpu makes it
simpler to add one (an extra global, one more line in init). Also renames the
current barrier to L0.

Diff Detail