From 187511909594737eb45eef37ad6010edad010534 Mon Sep 17 00:00:00 2001 From: WoosungMyung Date: Sat, 4 Jan 2025 08:47:46 +0900 Subject: [PATCH] Explanation of Function change --- src/bootstrap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootstrap.cc b/src/bootstrap.cc index c1d085e..e49514b 100644 --- a/src/bootstrap.cc +++ b/src/bootstrap.cc @@ -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)); }