Revert "remove unused basePath"

This reverts commit d973ddac8b.


[ROCm/rccl commit: cc78e9fab8]
Ta zmiana jest zawarta w:
%! (template.HTML=Sylvain Jeaugey)złożyło 2022-01-21 12:30:34 +01:00
1 rodzic d973ddac8b
złożenie 51df47f9b8
Plik 1 zmieniony
+5
+5
Wyświetl plik
@@ -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;