diff --git a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp index 46b00d284f..eb1e010cb3 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp +++ b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp @@ -984,12 +984,6 @@ hsa_status_t GpuAgent::GetInfo(hsa_agent_info_t attribute, void* value) const { case HSA_AMD_AGENT_INFO_ASIC_REVISION: *((uint32_t*)value) = static_cast(properties_.Capability.ui32.ASICRevision); break; - case HSA_AMD_AGENT_INFO_VGPR_SIZE: - *((uint32_t*)value) = properties_.VGPRSizePerCU; - break; - case HSA_AMD_AGENT_INFO_SGPR_SIZE: - *((uint32_t*)value) = properties_.SGPRSizePerCU; - break; default: return HSA_STATUS_ERROR_INVALID_ARGUMENT; break; diff --git a/projects/rocr-runtime/runtime/hsa-runtime/inc/hsa_ext_amd.h b/projects/rocr-runtime/runtime/hsa-runtime/inc/hsa_ext_amd.h index 905a003f96..a0bc5d1d99 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/inc/hsa_ext_amd.h +++ b/projects/rocr-runtime/runtime/hsa-runtime/inc/hsa_ext_amd.h @@ -291,17 +291,7 @@ typedef enum hsa_amd_agent_info_s { * selective workarounds for hardware errata. * The type of this attribute is uint32_t. */ - HSA_AMD_AGENT_INFO_ASIC_REVISION = 0xA012, - /** - * Size of VGPR register file in kilobytes per CU. - * The type of this attribute is uint32_t. - */ - HSA_AMD_AGENT_INFO_VGPR_SIZE = 0xA013, - /** - * Size of SGPR register file in kilobytes per CU. - * The type of this attribute is uint32_t. - */ - HSA_AMD_AGENT_INFO_SGPR_SIZE = 0xA014 + HSA_AMD_AGENT_INFO_ASIC_REVISION = 0xA012 } hsa_amd_agent_info_t; typedef struct hsa_amd_hdp_flush_s {