remove unused basePath
This commit is contained in:
parent
c5790b3672
commit
445bc19657
@ -41,11 +41,6 @@ static ncclResult_t ncclTopoSetPaths(struct ncclTopoNode* baseNode, struct ncclT
|
|||||||
struct ncclTopoNodeList nextNodeList;
|
struct ncclTopoNodeList nextNodeList;
|
||||||
nodeList.count = 1; nodeList.list[0] = baseNode;
|
nodeList.count = 1; nodeList.list[0] = baseNode;
|
||||||
nextNodeList.count = 0;
|
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) {
|
while (nodeList.count) {
|
||||||
nextNodeList.count = 0;
|
nextNodeList.count = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user