[Openmp-commits] [PATCH] D93293: [OpenMP][Libomptarget] Introduce changes to support remote plugin

Atmn Patel via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Dec 15 04:04:37 PST 2020


atmnpatel created this revision.
atmnpatel added reviewers: jdoerfert, JonChesterfield.
Herald added subscribers: guansong, yaxunl.
atmnpatel requested review of this revision.
Herald added subscribers: openmp-commits, sstefan1.
Herald added a project: OpenMP.

In order to support remote execution, we need to be able to send the
target binary description to the remote host for registration (and
consequent deregistration). To support this, I added these three
optional new functions to the plugin API:

- `__tgt_rtl_register_lib`
- `__tgt_rtl_unregister_lib
- `__tgt_rtl_register_requires`

These functions will be called to properly manage the instance of
libomptarget running on the remote host.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D93293

Files:
  openmp/libomptarget/src/interface.cpp
  openmp/libomptarget/src/rtl.cpp
  openmp/libomptarget/src/rtl.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93293.311860.patch
Type: text/x-patch
Size: 4687 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20201215/890802a5/attachment.bin>


More information about the Openmp-commits mailing list