Skip to content

Commit 9fe9306

Browse files
committed
Rename var
1 parent ca759ee commit 9fe9306

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sycl/source/detail/queue_impl.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -732,11 +732,11 @@ class queue_impl {
732732

733733
if (MContext->getBackend() == backend::opencl && MGraph.expired()) {
734734
// This is needed to support queue_empty() call
735-
auto event = Handler.finalize();
736-
if (!getSyclObjImpl(event)->isDiscarded()) {
737-
MDefaultGraphDeps.LastEventPtr = getSyclObjImpl(event);
735+
auto Event = Handler.finalize();
736+
if (!getSyclObjImpl(Event)->isDiscarded()) {
737+
MDefaultGraphDeps.LastEventPtr = getSyclObjImpl(Event);
738738
}
739-
return event;
739+
return Event;
740740
} else {
741741
return Handler.finalize();
742742
}

0 commit comments

Comments
 (0)