Merge pull request #1155 from gargrahul/fix_kernel_lp_dim_trace

Fix wrong grid dim shown in trace
Tá an tiomantas seo le fáil i:
Maneesh Gupta údaraithe agus GitHub tiomanta 2019-06-04 13:21:39 +05:30
2 tuismitheoirí 0564d8af57 a489f583bb
tiomantas c99d011898
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());