Skip to content

Commit 8aa91e7

Browse files
committed
[SYCL] Do not remove commands from leaves lists on sub-buffer creation
It's not correct to remove commands from leaves that we are not depending on. Signed-off-by: Vlad Romanov <[email protected]>
1 parent afff49b commit 8aa91e7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

sycl/source/detail/scheduler/graph_builder.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,8 +505,6 @@ AllocaCommandBase *Scheduler::GraphBuilder::getOrCreateAllocaForReq(
505505
auto *ParentAlloca =
506506
getOrCreateAllocaForReq(Record, &ParentRequirement, Queue);
507507
AllocaCmd = new AllocaSubBufCommand(Queue, *Req, ParentAlloca);
508-
updateLeaves(findDepsForReq(Record, Req, Queue->getContextImplPtr()),
509-
Record, access::mode::read_write);
510508
} else {
511509

512510
const Requirement FullReq(/*Offset*/ {0, 0, 0}, Req->MMemoryRange,

0 commit comments

Comments
 (0)