SWDEV-304552 - Add default to return the last error value
Change-Id: Ia399033e30aaa454a454067f5afc6f7d1e5ff8dd
[ROCm/clr commit: 4cd4d2d280]
Этот коммит содержится в:
коммит произвёл
Jatin Chaudhary
родитель
2ff0c7c7bf
Коммит
257bb9d2fc
@@ -76,6 +76,8 @@ inline static nvrtcResult hiprtcResultTonvrtcResult(hiprtcResult result) {
|
||||
return NVRTC_ERROR_NAME_EXPRESSION_NOT_VALID;
|
||||
case HIPRTC_ERROR_INTERNAL_ERROR:
|
||||
return NVRTC_ERROR_INTERNAL_ERROR;
|
||||
default:
|
||||
return NVRTC_ERROR_INTERNAL_ERROR;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -105,6 +107,8 @@ inline static hiprtcResult nvrtcResultTohiprtcResult(nvrtcResult result) {
|
||||
return HIPRTC_ERROR_NAME_EXPRESSION_NOT_VALID;
|
||||
case NVRTC_ERROR_INTERNAL_ERROR:
|
||||
return HIPRTC_ERROR_INTERNAL_ERROR;
|
||||
default:
|
||||
return HIPRTC_ERROR_INTERNAL_ERROR;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user