We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b00c9e6 commit ab2e8d1Copy full SHA for ab2e8d1
sycl/source/detail/queue_impl.cpp
@@ -514,7 +514,7 @@ EventImplPtr queue_impl::submit_command_to_graph(
514
std::unique_ptr<detail::CG> CommandGroup, sycl::detail::CGType CGType,
515
sycl::ext::oneapi::experimental::node_type UserFacingNodeType) {
516
auto EventImpl = detail::event_impl::create_completed_host_event();
517
- EventImpl->setSubmittedQueue(weak_from_this());
+ EventImpl->setSubmittedQueue(this);
518
ext::oneapi::experimental::detail::node_impl *NodeImpl = nullptr;
519
520
// GraphImpl is read and written in this scope so we lock this graph
0 commit comments