From 51df47f9b8be05db238aedb3870c3f9cc5469f38 Mon Sep 17 00:00:00 2001 From: Sylvain Jeaugey Date: Fri, 21 Jan 2022 12:29:54 +0100 Subject: [PATCH] Revert "remove unused basePath" This reverts commit d973ddac8b380fecffbae46bf441db1e806dc438. [ROCm/rccl commit: cc78e9fab8fc2caeb33540df571ef611de9c2bc9] --- projects/rccl/src/graph/paths.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/projects/rccl/src/graph/paths.cc b/projects/rccl/src/graph/paths.cc index 0afbe6a6a4..64c54df37d 100644 --- a/projects/rccl/src/graph/paths.cc +++ b/projects/rccl/src/graph/paths.cc @@ -41,6 +41,11 @@ static ncclResult_t ncclTopoSetPaths(struct ncclTopoNode* baseNode, struct ncclT struct ncclTopoNodeList nextNodeList; nodeList.count = 1; nodeList.list[0] = baseNode; nextNodeList.count = 0; + struct ncclTopoLinkList* basePath; + NCCLCHECK(getPath(system, baseNode, baseNode->type, baseNode->id, &basePath)); + basePath->count = 0; + basePath->width = LOC_WIDTH; + basePath->type = PATH_LOC; while (nodeList.count) { nextNodeList.count = 0;