Rework barrier and event code (#761)

* Rework barrier and event code

* Switch to inline asm

[ROCm/rccl commit: 5a38ff192b]
这个提交包含在:
Wenkai Du 编写, GitHub 于 2023-05-31 13:36:51 -07:00 提交
1 父节点 f4d63d21ca
当前提交 61e30182b2
3 个文件已更改
+5 -6

没有与搜索条件相匹配的文件

-2
查看文件
@@ -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;
}