Skip to content

Commit

Permalink
Test failing cleanup rule.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandr-Konovalov committed Jan 29, 2025
1 parent 9b44379 commit 1524fb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sycl/source/detail/scheduler/graph_builder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ Scheduler::GraphBuilder::getOrInsertMemObjRecord(const QueueImplPtr &Queue,
void Scheduler::GraphBuilder::updateLeaves(
Command *NewCmd, const std::set<Command *> &Cmds, MemObjRecord *Record,
access::mode AccessMode, const MapOfDependentCmds &DependentCmdsOfNewCmd,
const QueueImplPtr &/*Queue*/, std::vector<Command *> &ToCleanUp,
const QueueImplPtr &Queue, std::vector<Command *> &ToCleanUp,
std::vector<Command *> &ToEnqueue) {

const bool ReadOnlyReq = AccessMode == access::mode::read;
Expand All @@ -262,7 +262,7 @@ void Scheduler::GraphBuilder::updateLeaves(
}
if (detectDuplicates(Cmd, DependentCmdsOfNewCmd))
commandToCleanup(NewCmd, Cmd, ToEnqueue);
#if 0
#if 1
// CGType::CopyAccToAcc implementation requires that dependent command is
// not a cleanup subject. So disable this code for now.

Expand Down

0 comments on commit 1524fb0

Please sign in to comment.