SWDEV-337331 - Windows graph fix

Unit_hipGraphNodeGetDependentNodes_Functional
Unit_hipGraphNodeGetDependencies_Functional
Unit_hipGraphAddEventRecordNode_Functional_WithoutFlags
Unit_hipGraphMemcpyNodeSetParams_Functional
Unit_hipGraphExecChildGraphNodeSetParams_ChildTopology

Change-Id: I762776d33f27197bcc012951a1828d3d1d2b3e2e
이 커밋은 다음에 포함됨:
agunashe
2022-10-13 17:10:38 -07:00
커밋한 사람 Ajay GunaShekar
부모 84fa61a39b
커밋 47ae1f1fff
+7 -2
파일 보기
@@ -621,7 +621,7 @@ void ihipGraph::LevelOrder(std::vector<Node>& levelOrder) {
GetGraphNodeTypeString((*it)->GetType()), *it, (*it)->GetLevel());
}
while (!q.empty()) {
Node& node = q.front();
Node node = q.front();
q.pop();
levelOrder.push_back(node);
for (const auto& i : node->GetEdges()) {
@@ -763,7 +763,12 @@ hipError_t FillCommands(std::vector<std::vector<Node>>& parallelLists,
first = false;
continue;
}
graphLastCmdWaitList.push_back(singleList.back()->GetCommands().back());
if (!singleList.empty()) {
auto commands = singleList.back()->GetCommands();
if (!commands.empty()) {
graphLastCmdWaitList.push_back(commands.back());
}
}
}
if (!graphLastCmdWaitList.empty()) {
endCommand = new amd::Marker(*queue, false, graphLastCmdWaitList);