SWDEV-341360 - Handle named expressions with space in hipRTC

Change-Id: I1c26855d8a94e0a4d818664ca71094c6992221c9
This commit is contained in:
Satyanvesh Dittakavi
2022-06-15 16:13:11 +00:00
parent 683b28d573
commit b263ab3248
5 changed files with 34 additions and 49 deletions
+1 -1
View File
@@ -151,7 +151,7 @@ hiprtcResult hiprtcGetLoweredName(hiprtcProgram prog, const char* name_expressio
auto* rtcProgram = hiprtc::RTCCompileProgram::as_RTCCompileProgram(prog);
if (!rtcProgram->getDemangledName(name_expression, loweredName)) {
if (!rtcProgram->getMangledName(name_expression, loweredName)) {
return HIPRTC_RETURN(HIPRTC_ERROR_NAME_EXPRESSION_NOT_VALID);
}