* Revert "Ensure memory copy integrity during transport setup (#731)" This reverts commit0c0c35927a. Add stream synchronization in ncclStrongStreamRelease. * Use event record and wait [ROCm/rccl commit:4ca7742c61]
This commit is contained in:
@@ -237,6 +237,8 @@ ncclResult_t ncclStrongStreamRelease(struct ncclCudaGraph graph, struct ncclStro
|
||||
}
|
||||
}
|
||||
#endif
|
||||
CUDACHECK(cudaEventRecord(ss->scratchEvent, ss->cudaStream));
|
||||
CUDACHECK(cudaStreamWaitEvent(ss->cudaStream, ss->scratchEvent, 0));
|
||||
return ncclSuccess;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user