From cfdf3da357df552d54ffe563950c427a10a714a4 Mon Sep 17 00:00:00 2001 From: Pak Lui Date: Mon, 2 Mar 2026 15:50:51 -0800 Subject: [PATCH] fix function header GetClosestGpusToNic fix the function header GetClosestGpusToNic to match the function definition and function calls --- src/header/TransferBench.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/header/TransferBench.hpp b/src/header/TransferBench.hpp index 60078454..6499ffe0 100644 --- a/src/header/TransferBench.hpp +++ b/src/header/TransferBench.hpp @@ -524,7 +524,7 @@ namespace TransferBench * @note This function is applicable when the IBV/RDMA executor is available * @returns GPU indices closest to NIC nicIndex, or empty if unable to detect */ - void GetClosestGpusToNic(std::vector& nicIndices, int gpuIndex, int targetRank = -1); + void GetClosestGpusToNic(std::vector& gpuIndices, int nicIndex, int targetRank = -1); /** * @returns 0-indexed rank for this process