[libc-commits] [libc] [libc] Change the starting port index to use the SMID (PR #79200)

via libc-commits libc-commits at lists.llvm.org
Tue Jan 23 13:14:41 PST 2024


================
@@ -57,7 +57,7 @@ template <uint32_t lane_size = gpu::LANE_SIZE> struct alignas(64) Packet {
 };
 
 /// The maximum number of parallel ports that the RPC interface can support.
-constexpr uint64_t MAX_PORT_COUNT = 512;
+constexpr uint64_t MAX_PORT_COUNT = 4096;
----------------
lntue wrote:

This constant is spread across multiple files.  Do you want to have a macro defining this something like `LIBC_RPC_MAX_PORT_COUNT` defaulted to 4096 if undef, so that it can even be set from the build command?

https://github.com/llvm/llvm-project/pull/79200


More information about the libc-commits mailing list