Skip to content

Commit ab2e8d1

Browse files
committed
Fix new failure
Signed-off-by: Larsen, Steffen <[email protected]>
1 parent b00c9e6 commit ab2e8d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/source/detail/queue_impl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ EventImplPtr queue_impl::submit_command_to_graph(
514514
std::unique_ptr<detail::CG> CommandGroup, sycl::detail::CGType CGType,
515515
sycl::ext::oneapi::experimental::node_type UserFacingNodeType) {
516516
auto EventImpl = detail::event_impl::create_completed_host_event();
517-
EventImpl->setSubmittedQueue(weak_from_this());
517+
EventImpl->setSubmittedQueue(this);
518518
ext::oneapi::experimental::detail::node_impl *NodeImpl = nullptr;
519519

520520
// GraphImpl is read and written in this scope so we lock this graph

0 commit comments

Comments
 (0)