From e1afcf3eea8c654ddb302408d9d6f3460ef7aa51 Mon Sep 17 00:00:00 2001 From: ROCm CI Service Account <66695075+rocm-ci@users.noreply.github.com> Date: Tue, 21 Mar 2023 21:33:06 +0530 Subject: [PATCH] SWDEV-369567, SWDEV-369569 - updated max grid val (#3179) Change-Id: I7626542ec0adb409f9d51317caf40da9ed9fee01 [ROCm/hip commit: 862e98190061f81aa9bc6e338620b4ccb2f99363] --- .../tests/src/runtimeApi/module/hipModuleLaunchKernel.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/projects/hip/tests/src/runtimeApi/module/hipModuleLaunchKernel.cpp b/projects/hip/tests/src/runtimeApi/module/hipModuleLaunchKernel.cpp index 013b411e12..d317405799 100644 --- a/projects/hip/tests/src/runtimeApi/module/hipModuleLaunchKernel.cpp +++ b/projects/hip/tests/src/runtimeApi/module/hipModuleLaunchKernel.cpp @@ -251,9 +251,9 @@ bool Module_GridBlock_Corner_Tests() { unsigned int maxgridY = deviceProp.maxGridSize[1]; unsigned int maxgridZ = deviceProp.maxGridSize[2]; #else - unsigned int maxgridX = UINT32_MAX; - unsigned int maxgridY = UINT32_MAX; - unsigned int maxgridZ = UINT32_MAX; + unsigned int maxgridX = INT32_MAX; + unsigned int maxgridY = UINT16_MAX; + unsigned int maxgridZ = UINT16_MAX; #endif struct gridblockDim test[6] = {{1, 1, 1, maxblockX, 1, 1}, {1, 1, 1, 1, maxblockY, 1},