[libc-commits] [PATCH] D149598: [libc] Support concurrent RPC port access on the GPU

Jon Chesterfield via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed May 3 10:51:09 PDT 2023


JonChesterfield added inline comments.


================
Comment at: libc/src/__support/RPC/rpc.h:398
+  for (uint64_t index = 0; index < port_size; ++index) {
+    uint32_t in = inbox[index].load(cpp::MemoryOrder::RELAXED);
+    uint32_t out = outbox[index].load(cpp::MemoryOrder::RELAXED);
----------------
Is all this a straight copy/paste from the above? Why are client/server open even different functions, they could be identical


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149598/new/

https://reviews.llvm.org/D149598



More information about the libc-commits mailing list