Skip to content

Commit

Permalink
Resolve confict.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandr-Konovalov committed Nov 27, 2024
1 parent 6f52c23 commit dbdf3af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sycl/source/detail/scheduler/graph_builder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1075,8 +1075,8 @@ Command *Scheduler::GraphBuilder::addCG(
addNodeToLeaves(Record, NewCmd.get(), Req->MAccessMode, ToEnqueue);
}

// Register all the events as dependencies
for (const detail::EventImplPtr &e : Events) {
// Register all the events as dependencies
if (Command *ConnCmd = NewCmd->addDep(e, ToCleanUp))
ToEnqueue.push_back(ConnCmd);
// If NewCmd depends on another command, and all dependences of that command
Expand Down

0 comments on commit dbdf3af

Please sign in to comment.