[Openmp-commits] [PATCH] D138619: [OpenMP][libomptarget] Add minor fixes to NextGen plugins

Kevin Sala Penadés via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Nov 23 15:17:19 PST 2022


kevinsala created this revision.
kevinsala added reviewers: jdoerfert, jhuber6, tianshilei1992, JonChesterfield, josemonsalve2.
kevinsala added a project: OpenMP.
Herald added subscribers: kosarev, guansong, tpr, yaxunl.
Herald added a project: All.
kevinsala requested review of this revision.
Herald added subscribers: openmp-commits, sstefan1.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D138619

Files:
  openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp
  openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.h
  openmp/libomptarget/plugins-nextgen/cuda/src/rtl.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138619.477625.patch
Type: text/x-patch
Size: 5275 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20221123/8d4e3ed3/attachment.bin>


More information about the Openmp-commits mailing list