[all-commits] [llvm/llvm-project] 683719: [OpenMP][Libomptarget] Introduce changes to suppor...

Atmn Patel via All-commits all-commits at lists.llvm.org
Tue Jan 26 11:28:17 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 683719bc0cc8e12a5f9c06135fc97a13ef414f69
      https://github.com/llvm/llvm-project/commit/683719bc0cc8e12a5f9c06135fc97a13ef414f69
  Author: Atmn <atmndp at gmail.com>
  Date:   2021-01-26 (Tue, 26 Jan 2021)

  Changed paths:
    M openmp/libomptarget/src/interface.cpp
    M openmp/libomptarget/src/rtl.cpp
    M openmp/libomptarget/src/rtl.h

  Log Message:
  -----------
  [OpenMP][Libomptarget] Introduce changes to support remote plugin

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 two
optional new functions to the plugin API:
- `__tgt_rtl_register_lib`
- `__tgt_rtl_unregister_lib`

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

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D93293




More information about the All-commits mailing list