[libc] Add a test to directly stimulate the RPC interface
authorJoseph Huber <jhuber6@vols.utk.edu>
Fri, 14 Apr 2023 14:24:00 +0000 (09:24 -0500)
committerJoseph Huber <jhuber6@vols.utk.edu>
Thu, 20 Apr 2023 01:02:32 +0000 (20:02 -0500)
commit0bd564a259e1647343e3137abe6b618d7ad09c18
treea3aaf1812f47d912fe363c570425f5797d6c8f00
parentd0ff5e40308ee33936bfcc131f33adb4066b946f
[libc] Add a test to directly stimulate the RPC interface

Currently, the RPC interface with the loader is only tested if the other
tests fail. This test adds a direct test that runs a simple integer
increment over the RPC handshake 10000 times.

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

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D148342
libc/src/__support/RPC/rpc.h
libc/test/integration/startup/gpu/CMakeLists.txt
libc/test/integration/startup/gpu/rpc_test.cpp [new file with mode: 0644]
libc/utils/gpu/loader/Server.h