From ee9263ee38cbb3004e8d5bf11f0072d495610bc2 Mon Sep 17 00:00:00 2001 From: Niko1221 Date: Mon, 12 Oct 2026 08:01:06 +0200 Subject: [PATCH] sycl: NativeDense::hc_q8_requested() is declared by the shared header since STRATA_HC_Q8; the port's file defines it (the anonymous helper of the same name was hidden by the member, link error) --- sycl/src/core/native_dense.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sycl/src/core/native_dense.cpp b/sycl/src/core/native_dense.cpp index 3d6beca1..ae3c892f 100644 --- a/sycl/src/core/native_dense.cpp +++ b/sycl/src/core/native_dense.cpp @@ -30,7 +30,7 @@ bool in_range(const std::string& name) { return l >= g_layer_lb && l < g_layer_le; } // S23 experiment (STRATA_HC_Q8=1): the hyper-connection projections' Q8_0 bytes for the verify read -bool hc_q8_requested() { +bool hc_q8_env() { static const bool on = [] { const char* v = std::getenv("STRATA_HC_Q8"); return v != nullptr && v[0] == '1'; }(); return on; } @@ -107,6 +107,9 @@ struct Pending { }; } +// the shared header declares the static member (b60aab1b); this port only needs the env switch +bool NativeDense::hc_q8_requested() { return hc_q8_env(); } + bool NativeDense::served_names(const std::vector& shards, bool include_ple_key, std::set& out, std::string& err) { try {