From 24be73637f9bf54a8a5c76f27fbd44584311379c Mon Sep 17 00:00:00 2001 From: pghafari Date: Thu, 5 Jan 2023 07:37:01 -0500 Subject: [PATCH] SWDEV-375135 - adding error string Change-Id: I73276462627a47d405c8439d8a843ac266fc5d38 [ROCm/clr commit: 7615fba2d56f6d391f87b188b9836b7a30fe5f3e] --- projects/clr/hipamd/src/hip_error.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/projects/clr/hipamd/src/hip_error.cpp b/projects/clr/hipamd/src/hip_error.cpp index 909a9e08d0..7ffc1ce987 100644 --- a/projects/clr/hipamd/src/hip_error.cpp +++ b/projects/clr/hipamd/src/hip_error.cpp @@ -335,6 +335,10 @@ const char *ihipGetErrorString(hipError_t hip_error) { return "attempt to terminate a thread-local capture sequence from another thread"; case hipErrorGraphExecUpdateFailure: return "the graph update was not performed because it included changes which violated constraints specific to instantiated graph update"; + case hipErrorRuntimeMemory: + return "runtime memory call returned error"; + case hipErrorRuntimeOther: + return "runtime call other than memory returned error"; case hipErrorUnknown: default: return "unknown error";