rocr: Change grid dimensions

Signed-off-by: Lao, Darren <Darren.Lao@amd.com>


[ROCm/ROCR-Runtime commit: 0cd46b6582]
This commit is contained in:
Lao, Darren
2025-03-03 11:39:04 -05:00
parent 732c3cfa8f
commit de8e56a964
@@ -1358,7 +1358,7 @@ hsa_status_t GpuAgent::GetInfo(hsa_agent_info_t attribute, void* value) const {
*((uint32_t*)value) = 1024;
break;
case HSA_AGENT_INFO_GRID_MAX_DIM: {
const hsa_dim3_t grid_size = {UINT32_MAX, UINT32_MAX, UINT32_MAX};
const hsa_dim3_t grid_size = {INT32_MAX, UINT16_MAX, UINT16_MAX};
std::memcpy(value, &grid_size, sizeof(hsa_dim3_t));
} break;
case HSA_AGENT_INFO_GRID_MAX_SIZE: