From f8bc970dfe9e63c6fa948a88a28210db77832c83 Mon Sep 17 00:00:00 2001 From: Aman Gupta Date: Sat, 26 Sep 2026 18:53:11 +0800 Subject: [PATCH] add TODO for apple RDMA --- ggml/src/ggml-rpc/transport-apple.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ggml/src/ggml-rpc/transport-apple.cpp b/ggml/src/ggml-rpc/transport-apple.cpp index b1934175b1..bb24a5d4c1 100644 --- a/ggml/src/ggml-rpc/transport-apple.cpp +++ b/ggml/src/ggml-rpc/transport-apple.cpp @@ -26,6 +26,7 @@ // so every SEND posts a whole 128KiB stride over the wire, even when partially filled. // (In testing 128KiB was the best performing among 32, 64, 128, 256) +//TODO: add mechanism similar to https://github.com/ggml-org/llama.cpp/pull/29440 to prevent idle CPU from spinning static constexpr uint32_t RDMA_SEG_MAGIC = 0x52534547u; // "RSEG" static constexpr int RDMA_NBUF = 16; // ring depth (frames per direction) static constexpr size_t RDMA_FRAME = 4096; // Thunderbolt frame (fixed on Apple)