From cd4d236185dd38114d50ee8bf7e444402da0eebb Mon Sep 17 00:00:00 2001 From: "Lao, Darren" Date: Fri, 14 Mar 2025 14:49:23 -0400 Subject: [PATCH] rocr: Change ISA grid dimensions Signed-off-by: Lao, Darren --- runtime/hsa-runtime/core/runtime/isa.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/hsa-runtime/core/runtime/isa.cpp b/runtime/hsa-runtime/core/runtime/isa.cpp index 5bfd734d6b..a53f1c4c0a 100755 --- a/runtime/hsa-runtime/core/runtime/isa.cpp +++ b/runtime/hsa-runtime/core/runtime/isa.cpp @@ -205,7 +205,7 @@ bool Isa::GetInfo(const hsa_isa_info_t &attribute, void *value) const { return true; } case HSA_ISA_INFO_GRID_MAX_DIM: { - const hsa_dim3_t grid_max_dim = {UINT32_MAX, UINT32_MAX, UINT32_MAX}; + const hsa_dim3_t grid_max_dim = {INT32_MAX, UINT16_MAX, UINT16_MAX}; memcpy(value, &grid_max_dim, sizeof(grid_max_dim)); return true; }