SWDEV-491643 - DEBUG_HIP_FORCE_GRAPH_QUEUES is 1 enable capture path

Change-Id: Ibddd50592232b090bf5eab8395fe78a36bb3a14a
Этот коммит содержится в:
Anusha GodavarthySurya authored and Anusha Godavarthy Surya committed 2024-11-25 05:21:10 -05:00
1 родитель 3f3f3d0f1c
Коммит 25a893658a
1 file changed
+5 -1
+5 -1
Просмотреть файл
@@ -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();
}