Switch to hipLaunchHostFunc for HIP graph (#667)

[ROCm/rccl commit: 2288e9ae80]
这个提交包含在:
Wenkai Du
2022-12-15 10:16:46 -08:00
提交者 GitHub
父节点 78fc48f1c8
当前提交 d95a71b2ef
+1 -1
查看文件
@@ -258,7 +258,7 @@ ncclResult_t ncclStrongStreamLaunchHost(
}
ss->serialEventNeedsRecord = true;
#else
CUDACHECK(hipStreamAddCallback(ss->cudaStream, (hipStreamCallback_t)fn, arg, 0));
CUDACHECK(cudaLaunchHostFunc(ss->cudaStream, fn, arg));
#endif
return ncclSuccess;
}