← News

Local deployment

llama.cpp b12674 pre-release: Snapdragon Windows builds now fetch Adreno OpenCL kernel library by default

llama.cpp b12674 adds two default-ON CMake options that download and SHA256-verify a pinned Qualcomm Adreno OpenCL kernel binary library at configure time on Windows ARM64, with warning-only fallback to builtin kernels.

Published: 2026-11-24 17:03 UTCUpdated: 2026-11-24 17:03 UTCSource date: 2026-11-24

Official announcement

According to the b12674 pre-release notes published by ggml-org, llama.cpp has added a configure-time CMake option that downloads a pinned adreno-opencl-kernels release from the Qualcomm Software Center and verifies its SHA256 before placing the DLL and license next to the executables. The notes state that the two new options, GGML_OPENCL_USE_ADRENO_BIN_KERNELS and GGML_OPENCL_ADRENO_BIN_KERNELS_FETCH, both default to ON, and that the fetch path applies only on Windows ARM64.

Per the release notes, a failed download is treated only as a warning and the backend falls back to its builtin kernels; the opencl-adreno release job disables the fetch because it ships only ggml-opencl.dll. The same release lists Windows arm64 (OpenCL Adreno) and Linux arm64 Snapdragon CPU, Adreno GPU and Hexagon NPU build artifacts alongside conventional CPU, CUDA, Vulkan and ROCm builds.

Analysis

For teams building llama.cpp from source on Snapdragon Windows machines, configure now depends on reachability of the Qualcomm Software Center. On air-gapped or locked-down hosts the build silently falls back to builtin OpenCL kernels, so any performance difference between two builds may reflect network policy rather than model settings unless you first confirm which kernel path was loaded. Because the fallback is a warning and not an error, CI pipelines will not fail on a missing kernel library, leaving verification to the builder. Pinning a kernel release and checking SHA256 narrows supply-chain risk relative to fetching arbitrary binaries, but the notes do not disclose which kernel version is pinned or how it is updated, so reproducibility across b-numbers remains unconfirmed.

What remains unverified

The release notes do not state which adreno-opencl-kernels version is pinned, nor how that pin is later upgraded. They provide no runtime flag that reports whether a binary loaded the downloaded kernels or the builtin ones, so builders must check this themselves. No official performance comparison between the two kernel paths on Snapdragon devices is given, and no test details cover the failed-download scenario.


Related articles