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: recognise a Battlemage / Alchemist card by the PCI id in a name like 'Intel(R) Graphics [0xe223]'
Niko1221316097d2d950
diff --git a/sycl/include/strata/sycl_queue.hpp b/sycl/include/strata/sycl_queue.hppindex eaf7434a4..3b92cacef 100644--- a/sycl/include/strata/sycl_queue.hpp+++ b/sycl/include/strata/sycl_queue.hpp@@ -138,6 +138,12 @@ inline IntelGpuGen intel_gpu_gen(const sycl::device& d) {std::string n;try { n = d.get_info<sycl::info::device::name>(); } catch (...) { return IntelGpuGen::Unknown; }if (n.find("Intel") == std::string::npos) return IntelGpuGen::Unknown;+ // "Intel(R) Graphics [0xe223]": drivers that print the PCI id instead of a marketing name (the B70 on Linux)+ if (const size_t b = n.find("[0x"); b != std::string::npos) {+ const unsigned long id = std::strtoul(n.c_str() + b + 1, nullptr, 16);+ if (id >= 0xE200 && id <= 0xE2FF) return IntelGpuGen::Battlemage; // BMG-G21 / G31+ if ((id >= 0x5690 && id <= 0x56BF) || id == 0x56C0 || id == 0x56C1) return IntelGpuGen::Alchemist; // DG2+ }if (n.find("Battlemage") != std::string::npos) return IntelGpuGen::Battlemage;if (n.find("Alchemist") != std::string::npos) return IntelGpuGen::Alchemist;// "Arc(TM) Pro B70", "Arc(TM) B580", "Arc(TM) A750": a letter and 2-3 digits, as a whole word