From 8d1bd607f96fbc885d6662a318f2bff7d38e59da Mon Sep 17 00:00:00 2001 From: Ajay Date: Thu, 23 Jun 2022 17:56:31 +0000 Subject: [PATCH] SWDEV-337331 - Windows: DD=0 graph child Node fixes Change-Id: Icd7fc3967a202946d3428eba99a1bbf43b9772db --- hipamd/src/hip_graph_internal.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hipamd/src/hip_graph_internal.cpp b/hipamd/src/hip_graph_internal.cpp index 76749b119c..2d41ac756b 100644 --- a/hipamd/src/hip_graph_internal.cpp +++ b/hipamd/src/hip_graph_internal.cpp @@ -740,7 +740,8 @@ hipError_t FillCommands(std::vector>& parallelLists, first = false; continue; } - amd::Command* rootCommand = new amd::Marker(*queue, false, {}); + // marker from the same queue as the list + amd::Command* rootCommand = new amd::Marker(*singleList[0]->GetQueue(), false, {}); amd::Command::EventWaitList waitList; waitList.push_back(rootCommand); if (!singleList.empty()) {