SWDEV-519413 - Ignore ROCr shutdown events (#1616)

ROCr now reports a shutdown event, but this is not a fatal error. Ignore
this event.
This commit is contained in:
David Yat Sin
2026-01-14 14:28:03 -05:00
committed by GitHub
parent 71b9ea6ba0
commit a3b445118d
@@ -3365,6 +3365,9 @@ hsa_status_t Device::BackendErrorCallBackHandler(const hsa_amd_event_t* event, v
gpu_error = CL_DEVICE_NOT_AVAILABLE;
LogError("GPU Memory Error");
break;
case HSA_AMD_SYSTEM_SHUTDOWN_EVENT:
// This is not a fatal error just ignore it.
return HSA_STATUS_SUCCESS;
default:
gpu_error = CL_DEVICE_NOT_AVAILABLE;
LogError("Unknown Event Type ");