diff --git a/libc/utils/gpu/loader/amdgpu/Loader.cpp b/libc/utils/gpu/loader/amdgpu/Loader.cpp --- a/libc/utils/gpu/loader/amdgpu/Loader.cpp +++ b/libc/utils/gpu/loader/amdgpu/Loader.cpp @@ -330,7 +330,7 @@ hsa_amd_memory_fill(dev_ret, 0, sizeof(int)); // Allocate finegrained memory for the RPC server and client to share. - uint64_t port_size = __llvm_libc::rpc::default_port_count; + uint64_t port_size = __llvm_libc::rpc::DEFAULT_PORT_COUNT; uint32_t wavefront_size = 0; if (hsa_status_t err = hsa_agent_get_info( dev_agent, HSA_AGENT_INFO_WAVEFRONT_SIZE, &wavefront_size)) diff --git a/libc/utils/gpu/loader/nvptx/Loader.cpp b/libc/utils/gpu/loader/nvptx/Loader.cpp --- a/libc/utils/gpu/loader/nvptx/Loader.cpp +++ b/libc/utils/gpu/loader/nvptx/Loader.cpp @@ -246,7 +246,7 @@ if (CUresult err = cuMemsetD32(dev_ret, 0, 1)) handle_error(err); - uint64_t port_size = __llvm_libc::rpc::default_port_count; + uint64_t port_size = __llvm_libc::rpc::DEFAULT_PORT_COUNT; uint32_t warp_size = 32; uint64_t rpc_shared_buffer_size =