Fix incorrect CR8 detection

Also change level of ring graph print to help debugging


[ROCm/rccl commit: f54dc58113]
이 커밋은 다음에 포함됨:
Wenkai Du가 2020-02-21 10:09:49 -08:00를 커밋했습니다
1 부모 cf4bce4ad3
커밋 93d448e2fe
2 파일이 변경됨
+3 -3

검색과 일치하는 파일 없음

+2 -2
파일 보기
@@ -95,8 +95,8 @@ static ncclResult_t connectRings(struct ncclComm* comm, int* ringRecv, int* ring
channel1->ring.next = nextRecvRank;
}
}
TRACE(NCCL_GRAPH, "Ring %d : %d -> %d -> %d", c, channel0->ring.prev, comm->rank, channel0->ring.next);
TRACE(NCCL_GRAPH, "Ring %d : %d -> %d -> %d", c+nChannels, channel1->ring.prev, comm->rank, channel1->ring.next);
INFO(NCCL_GRAPH, "Ring %d : %d -> %d -> %d", c, channel0->ring.prev, comm->rank, channel0->ring.next);
INFO(NCCL_GRAPH, "Ring %d : %d -> %d -> %d", c+nChannels, channel1->ring.prev, comm->rank, channel1->ring.next);
}
return ncclSuccess;
}
+1 -1
파일 보기
@@ -451,7 +451,7 @@ static void parseChordalRing(struct ncclTopoSystem* system, char **str) {
int ngpus = system->nodes[GPU].count;
// single node CR8G only
if (ngpus != 8 && system->nodes[NET].count != 0)
if (ngpus != 8 || system->nodes[NET].count != 0)
return;
// validate chordal ring and calculate distance
for (i=0; i<ngpus; i++) {