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++

metal: link stubs for hc_mean_streams and route_marginal_stats (STRATA_TAP_FILE / STRATA_ROUTE_STATS hooks of the shared Verifier; owner round 9 G6 link failure)

Niko1221dd8201d20d62
diff --git a/metal/src/engine/stubs_023.cpp b/metal/src/engine/stubs_023.cpp
new file mode 100644
index 000000000..49aa16928
--- /dev/null
+++ b/metal/src/engine/stubs_023.cpp
@@ -0,0 +1,15 @@
+// metal/src/engine/stubs_023.cpp - the two research hooks of the shared Verifier::record_window that only the CUDA / HIP backends implement
+// (src/kernels/cuda/verify_kernels.cu): hc_mean_streams (STRATA_TAP_FILE) and route_marginal_stats (STRATA_ROUTE_STATS). Verifier::record_window
+// does not run on Metal (init hands over to the Metal window, metal/src/engine/window.cpp), so neither is reached; if one ever is, it stops
+// the engine with its name instead of continuing on outputs nobody wrote. They exist so the shared host file links.
+
+#include <cstdint>
+
+#include "strata/kernels/verify_kernels.hpp"
+
+namespace strata::metal_engine { void missing(const char* name); }
+
+namespace strata::kernels {
+void hc_mean_streams(const float*, float*, int64_t, int, void*) { strata::metal_engine::missing("strata::kernels::hc_mean_streams"); }
+void route_marginal_stats(const int32_t*, int, int, unsigned long long*, void*) { strata::metal_engine::missing("strata::kernels::route_marginal_stats"); }
+} // namespace strata::kernels