Set flags when calling hipExtLaunchMultiKernelMultiDevice in hip-clang

[ROCm/rccl commit: 24ea2ef6dd]
이 커밋은 다음에 포함됨:
Wenkai Du
2020-05-08 15:53:51 +00:00
부모 65ad48404b
커밋 069322d05a
+4
파일 보기
@@ -74,7 +74,11 @@ ncclResult_t ncclLaunchCooperativeKernelMultiDevice(hipLaunchParams *paramsList,
if (cgMode & 0x01) {
CUDACHECK(hipExtLaunchMultiKernelMultiDevice(paramsList, numDevices,
// These flags are to reduce the latency of using this API
#if __HIP__
hipCooperativeLaunchMultiDeviceNoPreSync|hipCooperativeLaunchMultiDeviceNoPostSync));
#else
0));
#endif
return ncclSuccess;
}
int savedDev;