This is an archive of the discontinued LLVM Phabricator instance.

[libc] Test the RPC interface with multiple blocks
ClosedPublic

Authored by jhuber6 on Apr 16 2023, 5:54 PM.

Details

Summary

The RPC interface can support multiple independent clients. This support
currently only supports many single-thread warps / workgroups
coordinating over a single lock. This patch uses the support added in
the previous patch to test the RPC interface with multiple blocks.

Note that this does not work with multiple threads currently because of
the effect of warps / workgroups executing in lockstep incorrectly. This
will be added later.

Depends on D148485

Diff Detail

Event Timeline

jhuber6 created this revision.Apr 16 2023, 5:54 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptApr 16 2023, 5:54 PM
jhuber6 requested review of this revision.Apr 16 2023, 5:54 PM
lntue accepted this revision.Apr 17 2023, 7:13 AM
This revision is now accepted and ready to land.Apr 17 2023, 7:13 AM
jhuber6 updated this revision to Diff 514660.Apr 18 2023, 9:01 AM

Update to use the GPU utility library.

sivachandra accepted this revision.Apr 19 2023, 12:21 AM
sivachandra added inline comments.
libc/cmake/modules/LLVMLibCTestRules.cmake
424

Add usage documentation under line 399.

This revision was landed with ongoing or failed builds.Apr 19 2023, 6:02 PM
This revision was automatically updated to reflect the committed changes.