Merge pull request #1155 from gargrahul/fix_kernel_lp_dim_trace

Fix wrong grid dim shown in trace

[ROCm/hip commit: c99d011898]
Tá an tiomantas seo le fáil i:
Maneesh Gupta údaraithe agus GitHub tiomanta 2019-06-04 13:21:39 +05:30
2 tuismitheoirí 1d4edf5379 ccd7b1f120
tiomantas 40076bca45
1 comhad athraithe
+1 -1
+1 -1
Féach ar an gComhad
@@ -201,7 +201,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());