[libc-commits] [PATCH] D152283: [libc] Export GPU extensions to `libc` for external use

Joseph Huber via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Jun 6 09:14:02 PDT 2023


jhuber6 created this revision.
jhuber6 added reviewers: tra, sivachandra, lntue, michaelrj, jdoerfert, JonChesterfield, tianshilei1992.
Herald added subscribers: libc-commits, tschuett.
Herald added projects: libc-project, All.
jhuber6 requested review of this revision.

The GPU port of the LLVM C library needs to export a few extensions to
the interface such that users can interface with it. This patch adds the
necessary logic to define a GPU extension. Currently, this only exports
a `rpc_reset_client` function. This allows us to use the server in
D147054 <https://reviews.llvm.org/D147054> to set up the RPC interface outside of `libc`.

Depends on https://reviews.llvm.org/D147054


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D152283

Files:
  libc/config/gpu/api.td
  libc/config/gpu/entrypoints.txt
  libc/config/gpu/headers.txt
  libc/include/CMakeLists.txt
  libc/include/gpu/rpc.h.def
  libc/spec/gpu_ext.td
  libc/src/CMakeLists.txt
  libc/src/gpu/CMakeLists.txt
  libc/src/gpu/reset.cpp
  libc/src/gpu/reset.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152283.528901.patch
Type: text/x-patch
Size: 5252 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230606/c1e36bcc/attachment.bin>


More information about the libc-commits mailing list