From a3b445118d743115a236cadded3ed4632eb23c62 Mon Sep 17 00:00:00 2001 From: David Yat Sin <77975354+dayatsin-amd@users.noreply.github.com> Date: Wed, 14 Jan 2026 14:28:03 -0500 Subject: [PATCH] SWDEV-519413 - Ignore ROCr shutdown events (#1616) ROCr now reports a shutdown event, but this is not a fatal error. Ignore this event. --- projects/clr/rocclr/device/rocm/rocdevice.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/projects/clr/rocclr/device/rocm/rocdevice.cpp b/projects/clr/rocclr/device/rocm/rocdevice.cpp index 8982037806..230703bbbf 100644 --- a/projects/clr/rocclr/device/rocm/rocdevice.cpp +++ b/projects/clr/rocclr/device/rocm/rocdevice.cpp @@ -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 ");