From fac80436291724101ffb0af7105f4411f3b95a0d Mon Sep 17 00:00:00 2001 From: Binyang Li Date: Mon, 2 Dec 2024 17:54:05 +0000 Subject: [PATCH] WIP --- apps/nccl/src/nccl.cu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/nccl/src/nccl.cu b/apps/nccl/src/nccl.cu index bef0eb1c3..e9749cd07 100644 --- a/apps/nccl/src/nccl.cu +++ b/apps/nccl/src/nccl.cu @@ -192,7 +192,7 @@ static std::vector setupSmChannels(ncclComm_t comm, return channels; } -static std::pair load_execution_plan(const char* filename) { +static std::pair loadExecutionPlan(const char* filename) { std::shared_ptr plan = std::make_shared(filename); std::string collective = plan->collective(); planKey key{plan->minMessageSize(), plan->maxMessageSize(), plan->isInPlace()}; @@ -404,7 +404,7 @@ NCCL_API ncclResult_t ncclCommInitRank(ncclComm_t* comm, int nranks, ncclUniqueI for (const auto& entry : std::filesystem::directory_iterator(collectiveDir)) { if (entry.is_regular_file()) { std::string filename = entry.path().filename().string(); - auto plan = load_execution_plan(entry.path().c_str()); + auto plan = loadExecutionPlan(entry.path().c_str()); commPtr->executionPlans[plan.first].push_back(plan.second); } }