[all-commits] [llvm/llvm-project] d21e50: [libc] Implement a generic streaming interface in ...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Thu May 11 09:55:57 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d21e507cfc9f7f5b2881e928d656fddbc9d31147
https://github.com/llvm/llvm-project/commit/d21e507cfc9f7f5b2881e928d656fddbc9d31147
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2023-05-11 (Thu, 11 May 2023)
Changed paths:
M libc/src/__support/RPC/rpc.h
M libc/src/__support/RPC/rpc_util.h
M libc/test/integration/startup/gpu/CMakeLists.txt
A libc/test/integration/startup/gpu/rpc_stream_test.cpp
M libc/utils/gpu/loader/Server.h
Log Message:
-----------
[libc] Implement a generic streaming interface in the RPC
Currently we provide the `send_n` and `recv_n` functions. These were
somewhat divergent and not tested on the GPU. This patch changes the
support to be more common. We do this my making the CPU provide an array
equal the to at least the lane size while the GPU can rely on the
private memory address of its stack variables. This allows us to send
data back and forth generically.
Reviewed By: JonChesterfield
Differential Revision: https://reviews.llvm.org/D150379
More information about the All-commits
mailing list