Skip to content

Commit 652a24d

Browse files
committed
Fix merge error
1 parent 8ca93a6 commit 652a24d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/common.cu‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1027,7 +1027,7 @@ testResult_t run() {
10271027
MPI_Comm_size(mpi_comm, &ncclProcs);
10281028
MPI_Comm_rank(mpi_comm, &ncclProc);
10291029

1030-
for (int p=0; p<nProcs; p++) {
1030+
for (int p=0; p<totalProcs; p++) {
10311031
if (hostHashs[p] == hostHashs[proc]) localSize++;
10321032
}
10331033
if (nGpus * localSize > numDevices)

0 commit comments

Comments
 (0)