mirror of https://github.com/NVIDIA/nccl.git
Merge ef96b97524
into 0d1ece2b43
This commit is contained in:
commit
1c1f49dcb6
|
@ -951,7 +951,7 @@ void* ncclProxyProgress(void *proxyState_) {
|
|||
__atomic_store_n(&proxyState->asyncResult, ret, __ATOMIC_RELEASE);
|
||||
INFO(NCCL_ALL,"%s:%d -> %d [Progress Thread]", __FILE__, __LINE__, ret);
|
||||
}
|
||||
if (added == 0) {
|
||||
if (added == 0 && idle) {
|
||||
sched_yield(); // No request progressed. Let others run.
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue