aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/FileManager.cpp
diff options
context:
space:
mode:
authorJoseph Huber <huberjn@outlook.com>2024-01-30 13:06:58 -0600
committerGitHub <noreply@github.com>2024-01-30 13:06:58 -0600
commit5470ea4e36d47ed09595517854f0fa07ca91e16f (patch)
treedd929d2e512cf948c3700d4d6961c6920d1e9d10 /clang/lib/Basic/FileManager.cpp
parentf2a78e68eee53646327f71c475c7f18a28b7f576 (diff)
downloadllvm-5470ea4e36d47ed09595517854f0fa07ca91e16f.zip
llvm-5470ea4e36d47ed09595517854f0fa07ca91e16f.tar.gz
llvm-5470ea4e36d47ed09595517854f0fa07ca91e16f.tar.bz2
[libc] Change the starting port index to use the SMID (#79200)
Summary: The RPC interface uses several ports to provide parallel access. Right now we begin the search at the beginning, which heavily contests the early ports. Using the SMID allows us to stagger the starting index based off of the cluster identifier that is executing the current warp. Multiple warps can share an SM, but it will guaruntee that the contention for the low indices is lower. This also increases the maximum port size to around 4096, this is because 512 isn't enough to cover the full hardare parallelism needed to guarantee this doesdn't deadlock.
Diffstat (limited to 'clang/lib/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions