ROCr-runtime: Allow core dumps for gfx115x (#1827)

Core dumps are not supporetd for gfx110x, but should be possible for
gfx115x.  The current code disables core dumps completly for all gfx11xx
agents, relax this to allow gfx115x.
이 커밋은 다음에 포함됨:
lancesix
2025-12-02 11:51:29 +00:00
커밋한 사람 GitHub
부모 cf91f5f77a
커밋 7ba0f1bdcf
2개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
+2 -1
파일 보기
@@ -1326,7 +1326,8 @@ bool AqlQueue::ExceptionHandler(hsa_signal_value_t error_code, void* arg) {
// Fallback if KFD does not support GPU core dump. In this case, the core
// dump is generated by hsa-runtime.
if (!core::Runtime::runtime_singleton_->KfdVersion().supports_core_dump &&
queue->agent_->supported_isas()[0]->GetMajorVersion() != 11) {
!(queue->agent_->supported_isas()[0]->GetMajorVersion() == 11
&& queue->agent_->supported_isas()[0]->GetMinorVersion() < 5)) {
if (pcs::PcsRuntime::instance()->SessionsActive())
fprintf(stderr, "GPU core dump skipped because PC Sampling active\n");
+2 -1
파일 보기
@@ -2239,7 +2239,8 @@ bool Runtime::VMFaultHandler(hsa_signal_value_t val, void* arg) {
// Fallback if KFD does not support GPU core dump. In this case, the core dump is
// generated by hsa-runtime.
if (faulty_agent &&
faulty_agent->supported_isas()[0]->GetMajorVersion() != 11 &&
!(faulty_agent->supported_isas()[0]->GetMajorVersion() == 11
&& faulty_agent->supported_isas()[0]->GetMinorVersion() < 5) &&
!runtime_singleton_->KfdVersion().supports_core_dump) {
if (pcs::PcsRuntime::instance()->SessionsActive())