[all-commits] [llvm/llvm-project] 3a5647: [libc] Increase the maximum RPC port size for futu...

Joseph Huber via All-commits all-commits at lists.llvm.org
Thu Mar 26 08:18:27 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3a56470a0ee68b26ffe93f5079de58ed22f5dc18
      https://github.com/llvm/llvm-project/commit/3a56470a0ee68b26ffe93f5079de58ed22f5dc18
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2026-03-26 (Thu, 26 Mar 2026)

  Changed paths:
    M libc/shared/rpc.h

  Log Message:
  -----------
  [libc] Increase the maximum RPC port size for future hardware (#188756)

Summary:
We store the locks in local device memory for performance and
simplicity. The number here needs to correspond to the maximum occupancy
so that we never have a situation where a GPU thread is blocking another
GPU thread.

The number now is sufficient for most hardware, but modern compute chips
like the MI300x are already pushing ~12000 resident waves. This has ABI
impliciations so I'd like to bump it up sooner rather than later. The
ABI change is within what OpenMP expects, LLVM major versions, and it
will be caught statically so there's no risk of silent corruption (size
doesn't match).



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list