This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP][libomptarget] Add minor fixes to NextGen plugins
ClosedPublic

Authored by kevinsala on Nov 23 2022, 3:17 PM.

Details

Summary

List of fixes:

  • omptarget_device_environment symbol is not mandatory in device images
  • Do not synchronize in ~AsyncInfoWrapperTy() if the async info's queue is null
  • GenericDeviceResourceRef's create() and destroy() require the device as parameter

This patch prepares the PluginInterface for the new AMDGPU NextGen plugin.

Diff Detail

Event Timeline

kevinsala created this revision.Nov 23 2022, 3:17 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 23 2022, 3:17 PM
kevinsala requested review of this revision.Nov 23 2022, 3:17 PM
jhuber6 accepted this revision.Nov 23 2022, 3:25 PM
This revision is now accepted and ready to land.Nov 23 2022, 3:25 PM