Rework barrier and event code (#761)

* Rework barrier and event code

* Switch to inline asm

[ROCm/rccl commit: 5a38ff192b]
This commit is contained in:
Wenkai Du
2023-05-31 13:36:51 -07:00
committed by GitHub
parent f4d63d21ca
commit 61e30182b2
3 changed files with 5 additions and 6 deletions
-2
View File
@@ -237,8 +237,6 @@ ncclResult_t ncclStrongStreamRelease(struct ncclCudaGraph graph, struct ncclStro
}
}
#endif
CUDACHECK(cudaEventRecord(ss->scratchEvent, ss->cudaStream));
CUDACHECK(cudaStreamWaitEvent(ss->cudaStream, ss->scratchEvent, 0));
return ncclSuccess;
}