SWDEV-317925 - Fix for remove dependency issue

Change-Id: Ifbd3e9892f328d9c0d029c81d7bd08d9d444a318


[ROCm/clr commit: e34fd8abe1]
This commit is contained in:
Sarbojit Sarkar authored and Sarbojit Sarkar committed 2022-01-23 23:11:32 -05:00
1 szülő fe0a0d66a7
commit 3c42e9cd0f
2 files changed
+13 -3

No files matched your search

@@ -1177,7 +1177,9 @@ hipError_t hipGraphRemoveDependencies(hipGraph_t graph, const hipGraphNode_t* fr
HIP_RETURN(hipErrorInvalidValue);
}
for (size_t i = 0; i < numDependencies; i++) {
from[i]->RemoveEdge(to[i]);
if (from[i]->RemoveEdge(to[i]) == false) {
HIP_RETURN(hipErrorInvalidValue);
}
}
HIP_RETURN(hipSuccess);
}