Set flags when calling hipExtLaunchMultiKernelMultiDevice in hip-clang
This commit is contained in:
@@ -74,7 +74,11 @@ ncclResult_t ncclLaunchCooperativeKernelMultiDevice(hipLaunchParams *paramsList,
|
|||||||
if (cgMode & 0x01) {
|
if (cgMode & 0x01) {
|
||||||
CUDACHECK(hipExtLaunchMultiKernelMultiDevice(paramsList, numDevices,
|
CUDACHECK(hipExtLaunchMultiKernelMultiDevice(paramsList, numDevices,
|
||||||
// These flags are to reduce the latency of using this API
|
// These flags are to reduce the latency of using this API
|
||||||
|
#if __HIP__
|
||||||
|
hipCooperativeLaunchMultiDeviceNoPreSync|hipCooperativeLaunchMultiDeviceNoPostSync));
|
||||||
|
#else
|
||||||
0));
|
0));
|
||||||
|
#endif
|
||||||
return ncclSuccess;
|
return ncclSuccess;
|
||||||
}
|
}
|
||||||
int savedDev;
|
int savedDev;
|
||||||
|
|||||||
Reference in New Issue
Block a user