Skip to content

Commit 506c1a9

Browse files
authored
[SYCL] Remove assertion for graph support for handler-less kernel submit (#20288)
Graph recording support was added in [#20250](#20250), but the assertion was not removed.
1 parent 9895530 commit 506c1a9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

sycl/source/detail/queue_impl.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -621,9 +621,6 @@ queue_impl::submit_direct(bool CallerNeedsEvent,
621621
detail::CG::StorageInitHelper CGData;
622622
std::unique_lock<std::mutex> Lock(MMutex);
623623

624-
// Graphs are not supported yet for the no-handler path
625-
assert(!hasCommandGraph());
626-
627624
// Set the No Last Event Mode to false, since the no-handler path
628625
// does not support it yet.
629626
MNoLastEventMode.store(false, std::memory_order_relaxed);

0 commit comments

Comments
 (0)