fix a bug for calculating the prev_sum of MGSyncInfo struct used in multi-gpu cooperative launch

SWDEV-251619

Change-Id: I6566bfc9384bb4677562085991a7a01d3cea3935


[ROCm/hip commit: 677a854f4f]
Bu işleme şunda yer alıyor:
Aryan Salmanpour
2020-09-28 15:17:19 -04:00
işlemeyi yapan: Aryan Salmanpour
ebeveyn 75fda6da3d
işleme 4a73a44f95
+1 -1
Dosyayı Görüntüle
@@ -537,7 +537,7 @@ hipError_t ihipLaunchCooperativeKernelMultiDevice(hipLaunchParams* launchParamsL
if (result != hipSuccess) {
break;
}
prevGridSize += launch.gridDim.x * launch.gridDim.y * launch.gridDim.z;
prevGridSize += globalWorkSizeX * globalWorkSizeY * globalWorkSizeZ;
}
// Sync the execution streams on all devices