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

ROCr now reports a shutdown event, but this is not a fatal error. Ignore
this event.
Este cometimento está contido em:
David Yat Sin criou e GitHub cometeu 2026-01-14 11:28:03 -08:00
1 ascendente 71b9ea6ba0
cometimento a3b445118d
1 ficheiro modificado
+3
+3
Ver ficheiro
@@ -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 ");