rocr: Change ISA grid dimensions

Signed-off-by: Lao, Darren <Darren.Lao@amd.com>
This commit is contained in:
Lao, Darren
2025-03-14 14:49:23 -04:00
parent 0a28e0a54a
commit cd4d236185
+1 -1
View File
@@ -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;
}