SWDEV-248057 - fix the calculation of allGridSize used in multi_grid_group() API
SWDEV-248057 - fix the calculation of allGridSize used in multi_grid_group() API

Change-Id: Ib470094e28dcacaa4769dc5c7ab08924f5b7fa41

ROCm-Developer-Tools/HIP,ROCm-Developer-Tools/HIP,ROCm-Developer-Tools/HIP,ROCm-Developer-Tools/HIP,ROCm-Developer-Tools/HIP