[all-commits] [llvm/llvm-project] 53627f: [libc] Change RPC outbox stores to be relaxed

Joseph Huber via All-commits all-commits at lists.llvm.org
Fri Mar 24 07:39:09 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 53627ffb3cc9bfefe3fbfb2356a736593b90b77e
      https://github.com/llvm/llvm-project/commit/53627ffb3cc9bfefe3fbfb2356a736593b90b77e
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-03-24 (Fri, 24 Mar 2023)

  Changed paths:
    M libc/src/__support/RPC/rpc.h

  Log Message:
  -----------
  [libc] Change RPC outbox stores to be relaxed

Summary:
These stored previously used `RELEASE`. This was done originally to
ensure that the stores to the shared memory buffer were flushed prior to
signaling that the other side can begin accessing it. However, this
should be accomplished by the memory fence above the store. This change
is required because NVPTX does not support non-relaxed atomics used on
unified shared memory.




More information about the All-commits mailing list