Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions sycl/source/detail/queue_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ event queue_impl::mem_advise(const std::shared_ptr<detail::queue_impl> &Self,

void queue_impl::addEvent(const event &Event) {
EventImplPtr EImpl = getSyclObjImpl(Event);
assert(EImpl && "Event implementation is missing");
auto *Cmd = static_cast<Command *>(EImpl->getCommand());
if (!Cmd) {
// if there is no command on the event, we cannot track it with MEventsWeak
Expand Down