SWDEV-490860 - Do signal_is_required detection post graph schedule
Change-Id: Iaf1067a811aeac3d16c08de954036e219b545e07
This commit is contained in:
committed by
Anusha Godavarthy Surya
parent
0d4823ff88
commit
89dfdc4dbe
@@ -1381,10 +1381,10 @@ hipError_t ihipGraphInstantiate(hip::GraphExec** pGraphExec, hip::Graph* graph,
|
||||
return hipErrorInvalidValue;
|
||||
}
|
||||
std::vector<hip::GraphNode*> graphNodes;
|
||||
clonedGraph->ScheduleNodes();
|
||||
if (false == clonedGraph->TopologicalOrder(graphNodes)) {
|
||||
return hipErrorInvalidValue;
|
||||
}
|
||||
clonedGraph->ScheduleNodes();
|
||||
*pGraphExec = new hip::GraphExec(graphNodes, clonedGraph, clonedNodes, flags);
|
||||
if (*pGraphExec != nullptr) {
|
||||
graph->SetGraphInstantiated(true);
|
||||
|
||||
Reference in New Issue
Block a user