[all-commits] [llvm/llvm-project] 05abcc: [libc] Treat the locks array as a bitfield
Joseph Huber via All-commits
all-commits at lists.llvm.org
Tue Jul 18 09:34:39 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 05abcc579244b68162b847a6780d27b22bd58f74
https://github.com/llvm/llvm-project/commit/05abcc579244b68162b847a6780d27b22bd58f74
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2023-07-18 (Tue, 18 Jul 2023)
Changed paths:
M libc/src/__support/RPC/rpc.h
M libc/startup/gpu/amdgpu/start.cpp
M libc/startup/gpu/nvptx/start.cpp
M libc/utils/gpu/server/rpc_server.cpp
M libc/utils/gpu/server/rpc_server.h
Log Message:
-----------
[libc] Treat the locks array as a bitfield
Currently we keep an internal buffer of device memory that is used to
indicate ownership of a port. Since we only use this as a single bit we
can simply turn this into a bitfield. I did this manually rather than
having a separate type as we need very special handling of the masks
used to interact with the locks.
Reviewed By: JonChesterfield
Differential Revision: https://reviews.llvm.org/D155511
More information about the All-commits
mailing list