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 40c39d6 commit c0345dfCopy full SHA for c0345df
sycl/source/detail/queue_impl.cpp
@@ -662,6 +662,14 @@ queue_impl::submit_direct(bool CallerNeedsEvent,
662
: true) &&
663
!hasCommandGraph();
664
665
+ if (isInOrder()) {
666
+ if (SchedulerBypass) {
667
+ MNoLastEventMode.store(true, std::memory_order_relaxed);
668
+ } else {
669
+ MNoLastEventMode.store(false, std::memory_order_relaxed);
670
+ }
671
672
+
673
EventImplPtr EventImpl = SubmitCommandFunc(CGData, SchedulerBypass);
674
675
// Sync with the last event for in order queue. For scheduler-bypass flow,
0 commit comments