[Openmp-commits] [PATCH] D154312: [Libomptarget] Begin implementing support for RPC services

Joseph Huber via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Jul 6 14:27:43 PDT 2023


jhuber6 updated this revision to Diff 537884.
jhuber6 added a comment.
Herald added a project: libc-project.
Herald added a subscriber: libc-commits.

Add a test. This creates some transitive dependencies on the `libcgpu.a` library
exported from `libc`. I had to change it to emit it in a location that we can
find in the tests at least for the build process. Secondly, this cannot use the
wrapper headers as those are create in-place by the installation logic in the
resource dir. We'll need to declare the things on the GPU manually. Third, this
cannot have a dependency on the `libcgpu.a` target as that could potentially be
in another CMake invocation. So be aware that changes to that will not be
triggered by a re-run of `check-openmp` if the libc project was changed.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154312/new/

https://reviews.llvm.org/D154312

Files:
  libc/CMakeLists.txt
  openmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp
  openmp/libomptarget/plugins-nextgen/common/PluginInterface/CMakeLists.txt
  openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp
  openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.h
  openmp/libomptarget/plugins-nextgen/common/PluginInterface/RPC.cpp
  openmp/libomptarget/plugins-nextgen/common/PluginInterface/RPC.h
  openmp/libomptarget/plugins-nextgen/cuda/src/rtl.cpp
  openmp/libomptarget/test/CMakeLists.txt
  openmp/libomptarget/test/libc/malloc.c
  openmp/libomptarget/test/libc/puts.c
  openmp/libomptarget/test/lit.cfg
  openmp/libomptarget/test/lit.site.cfg.in

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154312.537884.patch
Type: text/x-patch
Size: 30736 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20230706/58e79035/attachment-0001.bin>


More information about the Openmp-commits mailing list