Switch to hipLaunchHostFunc for HIP graph (#667)

Bu işleme şunda yer alıyor:
Wenkai Du authored and GitHub committed 2022-12-15 10:16:46 -08:00
1 ebeveyn 24aa8bd802
işleme 2288e9ae80
1 file changed
+1 -1
+1 -1
Dosyayı Görüntüle
@@ -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;
}