rocr: Expose PM4 emulation in the agent info (#1869)

Native AQL path in Windows requires extra logic, which has a conflict
with the implementation of Pm4 emulation and needs a detection in the client.
이 커밋은 다음에 포함됨:
German Andryeyev 작성하고 GitHub가 2025-11-19 18:26:23 -05:00를 커밋함
1 부모 d36b8ec66d
커밋 919642f721
2 파일이 변경됨
+8 -1

검색과 일치하는 파일 없음

+3
파일 보기
@@ -1710,6 +1710,9 @@ hsa_status_t GpuAgent::GetInfo(hsa_agent_info_t attribute, void* value) const {
}
return HSA_STATUS_ERROR;
}
case HSA_AMD_AGENT_INFO_PM4_EMULATION:
*((bool*)value) = properties_.Capability2.ui32.AqlEmulationPm4_;
break;
default:
return HSA_STATUS_ERROR_INVALID_ARGUMENT;
break;
+5 -1
파일 보기
@@ -705,7 +705,11 @@ typedef enum hsa_amd_agent_info_s {
* Queries the driver for clock counters of the agent.
* The type of this attribute is hsa_amd_clock_counters_t.
*/
HSA_AMD_AGENT_INFO_CLOCK_COUNTERS = 0xA118
HSA_AMD_AGENT_INFO_CLOCK_COUNTERS = 0xA118,
/**
* The agent uses PM4 emulation mode.
*/
HSA_AMD_AGENT_INFO_PM4_EMULATION = 0xA119
} hsa_amd_agent_info_t;
/**