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 358ae27 commit 781eb29Copy full SHA for 781eb29
sycl/source/detail/scheduler/graph_builder.cpp
@@ -920,10 +920,7 @@ void Scheduler::GraphBuilder::removeRecordForMemObj(SYCLMemObjI *MemObject) {
920
void Scheduler::GraphBuilder::connectDepEvent(Command *const Cmd,
921
EventImplPtr DepEvent,
922
const DepDesc &Dep) {
923
- const ContextImplPtr &Context = Cmd->getContext();
924
- const ContextImplPtr &DepEventContext = DepEvent->getContextImpl();
925
-
926
- assert(Context != DepEventContext);
+ assert(Cmd->getContext() != DepEvent->getContextImpl());
927
928
// construct Host Task type command manually and make it depend on DepEvent
929
ExecCGCommand *ConnectCmd = nullptr;
0 commit comments