Fix wrong grid dim shown in trace

[ROCm/hip commit: a489f583bb]
Este cometimento está contido em:
Rahul Garg cometeu 2019-05-31 22:30:24 +05:30
1 ascendente 5de90e8fb5
cometimento ccd7b1f120
1 ficheiro modificado
+1 -1
+1 -1
Ver ficheiro
@@ -189,7 +189,7 @@ hipError_t ihipModuleLaunchKernel(hipFunction_t f, uint32_t globalWorkSizeX,
lp.dynamic_group_mem_bytes =
sharedMemBytes; // TODO - this should be part of preLaunchKernel.
hStream = ihipPreLaunchKernel(
hStream, dim3(globalWorkSizeX, globalWorkSizeY, globalWorkSizeZ),
hStream, dim3(globalWorkSizeX/localWorkSizeX, globalWorkSizeY/localWorkSizeY, globalWorkSizeZ/localWorkSizeZ),
dim3(localWorkSizeX, localWorkSizeY, localWorkSizeZ), &lp, f->_name.c_str());