[libc-commits] [PATCH] D148943: [libc] Enable multiple threads to	use RPC on the GPU
    Joseph Huber via Phabricator via libc-commits 
    libc-commits at lists.llvm.org
       
    Fri Apr 28 06:04:10 PDT 2023
    
    
  
jhuber6 updated this revision to Diff 517889.
jhuber6 added a comment.
Add acquire / release semantics on the device lock. The NVPTX backend doesn't
support release on stores so simply use an explicit fence and a relaxed
operation. The fence here will actually reduce to a full memory barrier, but
that should just be a slight performance hit because of Nvidia's lack of
support.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D148943/new/
https://reviews.llvm.org/D148943
Files:
  libc/src/__support/RPC/CMakeLists.txt
  libc/src/__support/RPC/rpc.h
  libc/src/__support/RPC/rpc_util.h
  libc/startup/gpu/amdgpu/start.cpp
  libc/startup/gpu/nvptx/start.cpp
  libc/test/integration/startup/gpu/CMakeLists.txt
  libc/test/integration/startup/gpu/rpc_test.cpp
  libc/utils/gpu/loader/Loader.h
  libc/utils/gpu/loader/Server.h
  libc/utils/gpu/loader/amdgpu/Loader.cpp
  libc/utils/gpu/loader/nvptx/Loader.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148943.517889.patch
Type: text/x-patch
Size: 19518 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230428/131c230f/attachment-0001.bin>
    
    
More information about the libc-commits
mailing list