From 6ee2ccb08b7061e05f2ca843c8f68728202c2b7f Mon Sep 17 00:00:00 2001 From: Sean Keely Date: Tue, 24 Oct 2017 21:51:23 -0500 Subject: [PATCH] Fix error message description. Change-Id: I32efed68e970a4882aca9decbbcda3fcd5c5cb43 --- runtime/hsa-runtime/core/runtime/hsa.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/runtime/hsa-runtime/core/runtime/hsa.cpp b/runtime/hsa-runtime/core/runtime/hsa.cpp index 2be263bffd..827cd4de3f 100644 --- a/runtime/hsa-runtime/core/runtime/hsa.cpp +++ b/runtime/hsa-runtime/core/runtime/hsa.cpp @@ -2561,6 +2561,10 @@ hsa_status_t hsa_status_string( case HSA_STATUS_ERROR_VARIABLE_UNDEFINED: *status_string = "HSA_STATUS_ERROR_VARIABLE_UNDEFINED: The variable is undefined."; break; + case HSA_STATUS_ERROR_EXCEPTION: + *status_string = + "HSA_STATUS_ERROR_EXCEPTION: An HSAIL operation resulted in a hardware exception."; + break; case HSA_STATUS_ERROR_INVALID_CODE_SYMBOL: *status_string = "HSA_STATUS_ERROR_INVALID_CODE_SYMBOL: The code object symbol is invalid."; break;