Set flags when calling hipExtLaunchMultiKernelMultiDevice in hip-clang

Ta zmiana jest zawarta w:
%! (template.HTML=Wenkai Du)złożyło 2020-05-08 15:57:14 +00:00
1 rodzic 33c23fdcda
złożenie 24ea2ef6dd
Plik 1 zmieniony
+4
+4
Wyświetl plik
@@ -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;