SWDEV-491643 - DEBUG_HIP_FORCE_GRAPH_QUEUES is 1 enable capture path

Change-Id: Ibddd50592232b090bf5eab8395fe78a36bb3a14a


[ROCm/clr commit: 25a893658a]
Этот коммит содержится в:
Anusha GodavarthySurya
2024-11-08 12:00:53 +00:00
коммит произвёл Anusha Godavarthy Surya
родитель 177ef6b6f8
Коммит aa4f1b31df
+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();
}