From 537df06c4f192ebfbc2f845b905ffc8ba2299879 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Manuel=20MARTINEZ=20CAAMA=C3=91O?= Date: Thu, 29 Dec 2022 14:22:19 +0100 Subject: [PATCH] SWDEV-290384 - Missing hiprtcResult case in hiprtcGetErrorString Change-Id: I11d18ff19f6f6f1b36febf87a586bc9ffb95af10 --- hipamd/src/hiprtc/hiprtc.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hipamd/src/hiprtc/hiprtc.cpp b/hipamd/src/hiprtc/hiprtc.cpp index 7709cc86b1..a06e999e1b 100644 --- a/hipamd/src/hiprtc/hiprtc.cpp +++ b/hipamd/src/hiprtc/hiprtc.cpp @@ -53,6 +53,8 @@ const char* hiprtcGetErrorString(hiprtcResult x) { return "HIPRTC_ERROR_NAME_EXPRESSION_NOT_VALID"; case HIPRTC_ERROR_INTERNAL_ERROR: return "HIPRTC_ERROR_INTERNAL_ERROR"; + case HIPRTC_ERROR_LINKING: + return "HIPRTC_ERROR_LINKING"; default: LogPrintfError("Invalid HIPRTC error code: %d \n", x); return nullptr;