Rework barrier and event code (#761)

* Rework barrier and event code

* Switch to inline asm
This commit is contained in:
Wenkai Du
2023-05-31 13:36:51 -07:00
committed by GitHub
orang tua 7519ecb476
melakukan 5a38ff192b
3 mengubah file dengan 5 tambahan dan 6 penghapusan
-2
Melihat 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;
}