Explanation of Function change

[ROCm/rccl commit: 1875119095]
Этот коммит содержится в:
WoosungMyung
2025-01-04 08:47:46 +09:00
родитель 758f28b359
Коммит 5dcb18ceda
+1 -1
Просмотреть файл
@@ -70,7 +70,7 @@ static int localIdFromRoot(int rank, int root, int nRanks, int nRoots) {
int ir = BOOTSTRAP_PID(root, nRoots);
return rank - firstRankFromRoot(ir, nRanks, nRoots);
}
// return the number of child for a root, root will be periodized
// Check if the given rank is the first rank from the root
static int isFirstFromRoot(int rank, int root, int nRanks, int nRoots) {
return (rank == firstRankFromRoot(root, nRanks, nRoots));
}