rocr: Change ISA grid dimensions
Signed-off-by: Lao, Darren <Darren.Lao@amd.com>
This commit is contained in:
@@ -205,7 +205,7 @@ bool Isa::GetInfo(const hsa_isa_info_t &attribute, void *value) const {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
case HSA_ISA_INFO_GRID_MAX_DIM: {
|
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));
|
memcpy(value, &grid_max_dim, sizeof(grid_max_dim));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user