fix a bug for calculating the prev_sum of MGSyncInfo struct used in multi-gpu cooperative launch
SWDEV-251619
Change-Id: I6566bfc9384bb4677562085991a7a01d3cea3935
[ROCm/clr commit: 4817ec4778]
This commit is contained in:
zatwierdzone przez
Aryan Salmanpour
rodzic
c0eb26b2e7
commit
67227e6f7e
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user