[libc-commits] [PATCH] D149897: [libc][rpc] Update locking to work on volta
Jon Chesterfield via Phabricator via libc-commits
libc-commits at lists.llvm.org
Thu May 4 13:14:22 PDT 2023
JonChesterfield created this revision.
JonChesterfield added reviewers: jhuber6, jdoerfert.
Herald added subscribers: libc-commits, kosarev, mattd, asavonic, ecnelises, kerbowa, tschuett, jvesely.
Herald added projects: libc-project, All.
JonChesterfield requested review of this revision.
Carefully work around not knowing the thread mask that nvptx intrinsic
functions require.
If the warp is converged when calling try_lock, a single rpc call will handle
all lanes within it. Otherwise more than one rpc call with thread masks that
compose to the unknown one will occur.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D149897
Files:
libc/src/__support/CPP/atomic.h
libc/src/__support/GPU/amdgpu/utils.h
libc/src/__support/GPU/generic/utils.h
libc/src/__support/GPU/nvptx/utils.h
libc/src/__support/RPC/rpc.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149897.519626.patch
Type: text/x-patch
Size: 5933 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230504/09e17e18/attachment.bin>
More information about the libc-commits
mailing list