SWDEV-290384 - Missing hiprtcResult case in hiprtcGetErrorString

Change-Id: I11d18ff19f6f6f1b36febf87a586bc9ffb95af10
Cette révision appartient à :
Juan Manuel MARTINEZ CAAMAÑO
2022-12-29 14:22:19 +01:00
révisé par Juan MartinezFernandez
Parent 516acd4e60
révision 537df06c4f
+2
Voir le fichier
@@ -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;