diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2023-07-19 09:25:34 -0500 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2023-07-19 09:27:08 -0500 |
commit | 979fb95021c81024c7684e0572b6899cf5a28445 (patch) | |
tree | 2b93cf33446bb6c430ea609534c885625e575f22 /libc/startup | |
parent | 80e20c8a8d074cd4053d9dbfd675025a28240c85 (diff) | |
download | llvm-979fb95021c81024c7684e0572b6899cf5a28445.zip llvm-979fb95021c81024c7684e0572b6899cf5a28445.tar.gz llvm-979fb95021c81024c7684e0572b6899cf5a28445.tar.bz2 |
Revert "[libc] Treat the locks array as a bitfield"
Summary:
This caused test failures on the gfx90a buildbot. This works on my
gfx1030 and the Nvidia buildbots, so we'll need to investigate what is
going wrong here. For now revert it to get the bots green.
This reverts commit 05abcc579244b68162b847a6780d27b22bd58f74.
Diffstat (limited to 'libc/startup')
-rw-r--r-- | libc/startup/gpu/amdgpu/start.cpp | 2 | ||||
-rw-r--r-- | libc/startup/gpu/nvptx/start.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/startup/gpu/amdgpu/start.cpp b/libc/startup/gpu/amdgpu/start.cpp index b2adb1d..7081ae6 100644 --- a/libc/startup/gpu/amdgpu/start.cpp +++ b/libc/startup/gpu/amdgpu/start.cpp @@ -47,7 +47,7 @@ extern "C" [[gnu::visibility("protected"), clang::amdgpu_kernel]] void _begin(int argc, char **argv, char **env, void *rpc_shared_buffer) { // We need to set up the RPC client first in case any of the constructors // require it. - __llvm_libc::rpc::client.reset(__llvm_libc::rpc::MAX_PORT_COUNT, + __llvm_libc::rpc::client.reset(__llvm_libc::rpc::DEFAULT_PORT_COUNT, rpc_shared_buffer); // We want the fini array callbacks to be run after other atexit diff --git a/libc/startup/gpu/nvptx/start.cpp b/libc/startup/gpu/nvptx/start.cpp index cd44239..90f0049 100644 --- a/libc/startup/gpu/nvptx/start.cpp +++ b/libc/startup/gpu/nvptx/start.cpp @@ -45,7 +45,7 @@ extern "C" [[gnu::visibility("protected"), clang::nvptx_kernel]] void _begin(int argc, char **argv, char **env, void *rpc_shared_buffer) { // We need to set up the RPC client first in case any of the constructors // require it. - __llvm_libc::rpc::client.reset(__llvm_libc::rpc::MAX_PORT_COUNT, + __llvm_libc::rpc::client.reset(__llvm_libc::rpc::DEFAULT_PORT_COUNT, rpc_shared_buffer); // We want the fini array callbacks to be run after other atexit |