Treat PIX and PXB as same GDR distance (#1894)

이 커밋은 다음에 포함됨:
Wenkai Du
2025-09-11 08:44:10 -07:00
커밋한 사람 GitHub
부모 9c36439354
커밋 de9ebd8a8b
+4
파일 보기
@@ -1791,6 +1791,10 @@ static bool permuteNetIds(int *n, int *g, int s, int last, struct rcclRomeModel*
for (j = 0; j < ref->nGpus; j++) {
// enabling PXN override paths over PHB and SYS
if (topo->gdrLevel[n[i]*ref->nGpus+g[j]] == PATH_PXN) continue;
// treat PIX and PXB as same
if ((ref->gdrLevel[i*ref->nGpus+j] == PATH_PXB && topo->gdrLevel[n[i]*ref->nGpus+g[j]] == PATH_PIX) ||
(ref->gdrLevel[i*ref->nGpus+j] == PATH_PIX && topo->gdrLevel[n[i]*ref->nGpus+g[j]] == PATH_PXB))
continue;
if (ref->gdrLevel[i*ref->nGpus+j] != topo->gdrLevel[n[i]*ref->nGpus+g[j]]) break;
}
if (j < ref->nGpus) break;