diff --git a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_aql_queue.cpp b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_aql_queue.cpp index 05b3c676bf..979e27c871 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_aql_queue.cpp +++ b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_aql_queue.cpp @@ -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"); diff --git a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/runtime.cpp b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/runtime.cpp index 4fb260f953..764dcc10a3 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/runtime.cpp +++ b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/runtime.cpp @@ -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())