summaryrefslogtreecommitdiff
path: root/libc/startup/gpu/nvptx/start.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/startup/gpu/nvptx/start.cpp')
-rw-r--r--libc/startup/gpu/nvptx/start.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/startup/gpu/nvptx/start.cpp b/libc/startup/gpu/nvptx/start.cpp
index fe09666a33de..9ed755987a5d 100644
--- a/libc/startup/gpu/nvptx/start.cpp
+++ b/libc/startup/gpu/nvptx/start.cpp
@@ -57,7 +57,7 @@ void initialize(int argc, char **argv, char **env, void *in, void *out,
if (gpu::get_thread_id() == 0 && gpu::get_block_id() == 0) {
// We need to set up the RPC client first in case any of the constructors
// require it.
- rpc::client.reset(&lock, in, out, buffer);
+ rpc::client.reset(gpu::get_lane_size(), &lock, in, out, buffer);
// We want the fini array callbacks to be run after other atexit
// callbacks are run. So, we register them before running the init