Revert "Get the size of VGPR and SGPR register file"
This reverts commit2ae10ae479. Change-Id: I9988218ad1d2b6182d92aad09d18a95e77e46c01 [ROCm/ROCR-Runtime commit:36c54c63f7]
Этот коммит содержится в:
коммит произвёл
Sean Keely
родитель
2ae10ae479
Коммит
f60550207c
@@ -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<uint32_t>(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;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Ссылка в новой задаче
Block a user