What this thread does
Do first: on Windows ARM64, leave fetching enabled or add -DGGML_OPENCL_ADRENO_BIN_KERNELS_FETCH=OFF to your CMake configuration.
Short answer
As of November 2026, llama.cpp b12674 (2026-11-24) automates fetching the pinned Adreno library on Windows on Snapdragon. Loading the library and fetching it are separate controls.
What to do
Use these CMake options:
| Option | Default | Choice |
|---|---|---|
GGML_OPENCL_USE_ADRENO_BIN_KERNELS | ON | OFF disables the library entirely |
GGML_OPENCL_ADRENO_BIN_KERNELS_FETCH | ON | OFF skips the automatic fetch |
With fetching off but loading on, place adreno-opencl-kernels.dll alongside the executables yourself. The automatic build copies that DLL and LICENSE-adreno-opencl-kernels.txt there. The library version and SHA256 are pinned in ggml/src/ggml-opencl/CMakeLists.txt; the linked change pins 0.0.15.
The opencl-adreno release job disables fetching because it ships only ggml-opencl.dll.
Limits and open questions
- Automatic fetching is for Windows ARM64; the release does not add it for Android or Linux.
- A failed fetch warns and continues. With loading enabled, a local library is tried; if absent, builtin kernels are used. A SHA256 mismatch stops configuration.
- The fetch uses a 120-second total timeout and a 30-second inactivity timeout.
Not for: Android or Linux automatic Adreno library fetching.
Sources
- llama.cpp b12674, github-actions, 2026-11-24: "The library is built for Windows on ARM64 only."
- Adreno fetching change and configuration and documentation diff.
Checked
2026-11-24; read the b12674 release, its Adreno fetching PR and the linked file diff; no command was run.
Started from a post by @github-actions, packaged by the editor. Original post