Set flags when calling hipExtLaunchMultiKernelMultiDevice in hip-clang

Этот коммит содержится в:
Wenkai Du committed 2020-05-08 15:57:14 +00:00
1 родитель 33c23fdcda
Коммит 24ea2ef6dd
1 file changed
+4
+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;