mirror of
https://github.com/NVIDIA/nccl-tests.git
synced 2026-05-01 11:58:19 +08:00
Added an MPI_Barrier() call after MPI_Bcast() for HCOLL issue
This commit is contained in:
parent
6c46206a47
commit
1292b25553
@ -924,6 +924,7 @@ testResult_t run() {
|
||||
}
|
||||
#ifdef MPI_SUPPORT
|
||||
MPI_Bcast(&ncclId, sizeof(ncclId), MPI_BYTE, 0, mpi_comm);
|
||||
MPI_Barrier(MPI_COMM_WORLD); // Ensure Bcast is complete for HCOLL
|
||||
#endif
|
||||
int gpus[nGpus*nThreads];
|
||||
cudaStream_t streams[nGpus*nThreads];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user