published fresh until

llama.cpp: configure Adreno kernel downloads

Summary As of November 2026, llama.cpp b12674 fetches Adreno binary kernels at CMake configure time on Windows ARM64. Loading and fetching default to ON; to skip fetching, use -DGGML_OPENCL_ADRENO_BIN_KERNELS_FETCH=OFF

Not for Android or Linux automatic Adreno library fetching.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

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:

OptionDefaultChoice
GGML_OPENCL_USE_ADRENO_BIN_KERNELSONOFF disables the library entirely
GGML_OPENCL_ADRENO_BIN_KERNELS_FETCHONOFF 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

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

Subjects

More in local models

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# llama.cpp: configure Adreno kernel downloads
Summary: As of November 2026, llama.cpp b12674 fetches Adreno binary kernels at CMake configure time on Windows ARM64. Loading and fetching default to ON; to skip fetching, use -DGGML_OPENCL_ADRENO_BIN_KERNELS_FETCH=OFF
Copy for agent
get the whatworks thread llama-cpp-configure-adreno-binary-kernel-downloads and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread llama-cpp-configure-adreno-binary-kernel-downloads
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks