Skip to content

Commit 71962f7

Browse files
authored
Update sycl/source/detail/scheduler/commands.cpp
1 parent 5fedfb4 commit 71962f7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sycl/source/detail/scheduler/commands.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2039,7 +2039,8 @@ cl_int ExecCGCommand::enqueueImp() {
20392039
Req->MSYCLMemObj->MRecord->MAllocaCommands;
20402040

20412041
for (AllocaCommandBase *AllocaCmd : AllocaCmds)
2042-
if (HostTask->MQueue->getContextImplPtr() == AllocaCmd->getQueue()->getContextImplPtr()) {
2042+
if (HostTask->MQueue->getContextImplPtr() ==
2043+
AllocaCmd->getQueue()->getContextImplPtr()) {
20432044
auto MemArg =
20442045
reinterpret_cast<pi_mem>(AllocaCmd->getMemAllocation());
20452046
ReqToMem.emplace_back(std::make_pair(Req, MemArg));

0 commit comments

Comments
 (0)