Skip to content

opencl: Adreno E17 compiler quirks off by default - #33013

Merged
wanghqc merged 1 commit into
ggml-org:masterfrom
qualcomm:lh/e17-quirks-default-off
Nov 25, 2026
Merged

wanghqc merged 1 commit into
ggml-org:masterfrom
qualcomm:lh/e17-quirks-default-off

Conversation

@lhez

@lhez lhez commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Overview

Newer E17 compilers can handle FA and MoE kernels. This PR turns the quirks off so FA and MoE kernels are enabled by default on E17 compilers.

If you happen to use an older version of E17 compiler that has the issue, set environment variable GGML_OPENCL_ADRENO_E17_QUIRKS to 1.

Additional information

Requirements

@github-actions github-actions Bot added documentation Improvements or additions to documentation ggml changes relating to the ggml tensor library for machine learning OpenCL Issues specific to the OpenCL backend labels Nov 25, 2026
@lhez
lhez marked this pull request as ready for review November 25, 2026 17:34
@lhez
lhez requested a review from a team as a code owner November 25, 2026 17:34
@lhez

lhez commented Nov 25, 2026

Copy link
Copy Markdown
Contributor Author

@max-krasnyansky @wanghqc please review/ack when you get a chance

@wanghqc
wanghqc merged commit d9dae03 into ggml-org:master Nov 25, 2026
24 of 25 checks passed
wanghqc added a commit to qualcomm/llama.cpp that referenced this pull request Nov 26, 2026
OpenCL: x2ue's gated_delta_net kernel takes upstream's replay
(ggml_gated_delta_net_ext, ggml-org#31669) as a -DREPLAY build, on top of its
cache-fused state input/output and chunked prefill (which is not used with
replay). xielu, compact FA bias (indexed bias declined), softplus and async
input copies come from upstream. Upstream's coop-k c8 verify GEMMs
(ggml-org#32716, ggml-org#32909) are not taken: x2ue keeps its cok8 GEMMs. ggml-org#33013 (E17
quirks off by default) does not apply to x2ue's E17 handling. The coopmat
GEMM and MoE kernels (ggml-org#32686, ggml-org#32971) and the GDN QK offset fix (ggml-org#32747)
were already in x2ue.
speculative.cpp keeps x2ue's single DFlash implementation. GDN tests follow
upstream (no snapshot K); x2ue's verify-width perf cases now compare replay
and plain.
Mr-J-369 pushed a commit to Mr-J-369/llama.cpp-Android that referenced this pull request Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation ggml changes relating to the ggml tensor library for machine learning OpenCL Issues specific to the OpenCL backend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants