Skip to content

Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.

C++

sycl: keep the null-stream sentinel a sentinel in Verifier (#1555)

nekomario289aba7baa282d
diff --git a/sycl/include/strata/core/verify.hpp b/sycl/include/strata/core/verify.hpp
index 2501122db..7d6de96af 100644
--- a/sycl/include/strata/core/verify.hpp
+++ b/sycl/include/strata/core/verify.hpp
@@ -303,9 +303,9 @@ private:
void collect_profile(); ///< STRATA_VERIFY_PROFILE: add the last window's stamps to prof_sum_
void accumulate_profile(const unsigned long long* stamps); ///< one window's stamps (host copy) into prof_sum_
// pipelined windows (pl_launch ...)
- dpct::queue_ptr ext_stream_ =
- &dpct::get_in_order_queue(); ///< set_stream: the stage's shared stream
- ///< (not destroyed here)
+ dpct::queue_ptr ext_stream_ = nullptr; ///< set_stream: the stage's shared stream (not destroyed here);
+ ///< nullptr = none until set_stream() (#1555: a queue pointer captured
+ ///< at construction would be the *constructing* device's)
bool always_publish_ = false;
void pl_stage(int T, const int32_t* tokens, int64_t pos0, const int32_t ple_prev[2]);
dpct::event_ptr ev_done_ = nullptr, ev_commit_ = nullptr;
diff --git a/sycl/src/core/verify.cpp b/sycl/src/core/verify.cpp
index 8339b9da1..9b3ffca50 100644
--- a/sycl/src/core/verify.cpp
+++ b/sycl/src/core/verify.cpp
@@ -602,7 +602,7 @@ bool Verifier::init(const WeightTable &wt, const ModelGeometry &g,
err = "verify: copy stream create failed";
return false;
}
- if (ext_stream_ != &dpct::get_in_order_queue()) cs_ =
+ if (ext_stream_ != nullptr) cs_ =
ext_stream_; // set_stream (pipelined windows): the stage's shared
// stream
/*