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: a launch with no Metal dispatch names its own file and line
Niko1221ca903c124a8e
diff --git a/metal/include/metal_compat/cuda_launch.h b/metal/include/metal_compat/cuda_launch.hindex 256276210..dc0f2bb36 100644--- a/metal/include/metal_compat/cuda_launch.h+++ b/metal/include/metal_compat/cuda_launch.h@@ -20,4 +20,12 @@ static inline void strata_ds4_launch(K kernel, A&&...) {}// the call sites sit inside namespaces whose first argument would win argument-dependent lookup: force the global one-#define strata_ds4_launch(...) ::strata_ds4_launch(__VA_ARGS__)+// the call sites carry their own location, so a run names the exact launch that needs a dispatch+#define strata_ds4_launch(...) ::strata_ds4_launch_at(__FILE__, __LINE__, __VA_ARGS__)++// the macro adds the call site's location, so a run names the exact launch that still needs a Metal dispatch+template <typename K, typename... A>+static inline void strata_ds4_launch_at(const char* file, int line, K, A&&...) {+ std::fprintf(stderr, "strata metal: kernel launch with no Metal dispatch at %s:%d\n", file, line);+ std::abort();+}