SWDEV-491643 - DEBUG_HIP_FORCE_GRAPH_QUEUES is 1 enable capture path
Change-Id: Ibddd50592232b090bf5eab8395fe78a36bb3a14a
This commit is contained in:
committed by
Anusha Godavarthy Surya
parent
3f3f3d0f1c
commit
25a893658a
@@ -1354,7 +1354,11 @@ hipError_t ihipGraphInstantiate(hip::GraphExec** pGraphExec, hip::Graph* graph,
|
||||
}
|
||||
std::vector<std::vector<hip::GraphNode*>> parallelLists;
|
||||
std::unordered_map<hip::GraphNode*, std::vector<hip::GraphNode*>> nodeWaitLists;
|
||||
clonedGraph->GetRunList(parallelLists, nodeWaitLists);
|
||||
if (DEBUG_HIP_FORCE_GRAPH_QUEUES == 1) {
|
||||
parallelLists.push_back(graphNodes);
|
||||
} else {
|
||||
clonedGraph->GetRunList(parallelLists, nodeWaitLists);
|
||||
}
|
||||
if (DEBUG_HIP_FORCE_GRAPH_QUEUES != 0) {
|
||||
clonedGraph->ScheduleNodes();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user