From 9f32e76d3c88b7c8ccefbf07d8869e836d98b8c3 Mon Sep 17 00:00:00 2001 From: Sergey Semenov Date: Tue, 14 May 2019 12:54:36 +0300 Subject: [PATCH] [SYCL] Fix an assertion in graph processor Signed-off-by: Sergey Semenov --- sycl/source/detail/scheduler/graph_processor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sycl/source/detail/scheduler/graph_processor.cpp b/sycl/source/detail/scheduler/graph_processor.cpp index f999c047ddd5b..573ed68945ab4 100644 --- a/sycl/source/detail/scheduler/graph_processor.cpp +++ b/sycl/source/detail/scheduler/graph_processor.cpp @@ -32,7 +32,7 @@ Scheduler::GraphProcessor::getWaitList(EventImplPtr Event) { void Scheduler::GraphProcessor::waitForEvent(EventImplPtr Event) { Command *Cmd = getCommand(Event); - assert(!Cmd && "Event has no associated command?"); + assert(Cmd && "Event has no associated command?"); Command *FailedCommand = enqueueCommand(Cmd); if (FailedCommand) // TODO: Reschedule commands.