[all-commits] [llvm/llvm-project] d3aabe: [libc] Treat the locks array as a bitfield
Joseph Huber via All-commits
all-commits at lists.llvm.org
Fri Jul 21 08:49:27 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d3aabeb7b56b27cfacdc8af74d49d72186d89725
https://github.com/llvm/llvm-project/commit/d3aabeb7b56b27cfacdc8af74d49d72186d89725
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2023-07-21 (Fri, 21 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