SWDEV-337331 - Windows graph fix
Unit_hipGraphNodeGetDependentNodes_Functional Unit_hipGraphNodeGetDependencies_Functional Unit_hipGraphAddEventRecordNode_Functional_WithoutFlags Unit_hipGraphMemcpyNodeSetParams_Functional Unit_hipGraphExecChildGraphNodeSetParams_ChildTopology Change-Id: I762776d33f27197bcc012951a1828d3d1d2b3e2e
이 커밋은 다음에 포함됨:
@@ -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);
|
||||
|
||||
새 이슈에서 참조
사용자 차단