Extends hardware::CpuInfo with a CpuFeatures struct populated via std::is_x86_feature_detected! on x86_64 and an architectural assumption for aarch64 (NEON). Adds has_ggml_baseline() so callers can cheaply ask 'will whisper.cpp / llama.cpp ship a fast path on this CPU?' without knowing the arch-specific rule. The point of #7 is giving the runtime a way to surface a clear "non-AVX2 fallback" warning before the user hits a wall of silent slowness. The banner itself ships in the next commit as part of get_runtime_capabilities (item #1). Tests cover the baseline helper on both x86 and non-x86 targets. Co-authored-by: jars <jakejars@users.noreply.github.com>
74 KiB
74 KiB