Repository navigation
opencl: support f16 and non-contig f32 silu - #32319
Merged
Merged
Conversation
Assisted-by: Claude Opus 5.5
Assisted-by: Claude Opus 5.5
lhez
marked this pull request as ready for review
November 15, 2026 06:23
max-krasnyansky
approved these changes
Nov 15, 2026
wanghqc
added a commit
to qualcomm/llama.cpp
that referenced
this pull request
Nov 22, 2026
OpenCL keeps x2ue's ggml-opencl.cpp and ports the upstream changes by hand: the A7 non-MoE binary GEMMs for q4_0, q4_K, q5_K, q6_K and q8_0 (ggml-org#30947, ggml-org#30948, ggml-org#31002, ggml-org#30949, ggml-org#31003; the bin layout stays default-on for the X2E only, and the q8_0 A7 GEMM leaves the verify band to the cooperative-K GEMM), the DIAG_MASK_INF prune (ggml-org#29801), bf16 support_op flags (ggml-org#32135, ggml-org#32202, ggml-org#32387), f16 and non-contiguous silu (ggml-org#32319), and the bf16 sigmoid and batched group_norm parts of ggml-org#32251 (its add/mul row period, f16 swiglu_oai and q4_K flat GEMV tail were already fixed here). Upstream's decomposed flash attention (ggml-org#32046, ggml-org#32522, ggml-org#32577, ggml-org#32631) is not taken: x2ue keeps its own decomposition, so those kernels are dropped. speculative.cpp keeps x2ue's driver and accepts the new draft-dflash2 and draft-lilicorr types, which route to its single DFlash implementation. qwen4exp keeps its 128-row hc down/inject padding as an override of the merge helper that moved to qwen.py.
Annieren
pushed a commit
to Annieren/llama.cpp-upstream
that referenced
this pull request
Nov 23, 2026
* opencl: support non-contig silu Assisted-by: Claude Opus 5.5 * opencl: support f16 silu Assisted-by: Claude Opus 5.5
1 task
Mr-J-369
pushed a commit
to Mr-J-369/llama.cpp-Android
that referenced
this pull request
Nov 25, 2026
* opencl: support non-contig silu Assisted-by: Claude Opus 5.5 * opencl: support f16 silu Assisted-by: Claude Opus 5.5 (cherry picked from commit ede6106)
Nindaleth
pushed a commit
to Nindaleth/llama.cpp
that referenced
this pull request
Nov 26, 2026
* opencl: support non-contig silu Assisted-by: Claude Opus 5.5 * opencl: support f16 silu Assisted-by: Claude Opus 5.5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR adds support for f16 and f32 non-contiguous silu.
Additional information
Requirements