SWDEV-331301 - Fixes error code mismatch

Change-Id: I8dda98609b16ea5c1ce4d9db9471e61e5fb0c12c


[ROCm/clr commit: bd851550bd]
Esse commit está contido em:
Sourabh Betigeri
2022-04-13 18:51:06 -07:00
commit 9caddbf38a
+3 -3
Ver Arquivo
@@ -1241,9 +1241,9 @@ hipError_t hipGraphExecChildGraphNodeSetParams(hipGraphExec_t hGraphExec, hipGra
hipGraphNode_t hipErrorNode_out;
hipGraphExecUpdateResult updateResult_out;
// Check if this instantiated graph is updatable. All restrictions in hipGraphExecUpdate() apply.
if (hipGraphExecUpdate(hGraphExec, childGraph, &hipErrorNode_out, &updateResult_out) ==
hipErrorGraphExecUpdateFailure) {
HIP_RETURN(hipErrorUnknown);
hipError_t status = hipGraphExecUpdate(hGraphExec, childGraph, &hipErrorNode_out, &updateResult_out);
if (status != hipSuccess) {
HIP_RETURN(status);
}
hipGraphNode_t clonedNode = hGraphExec->GetClonedNode(node);