opencl: add bin kernel kernel_gemm_noshuffle_q6_k_q8_1_dp4a_ila_a8_bin - #29057
Merged
Merged
Conversation
shaofeiqi
force-pushed
the
q6_k-a8-dp4a-bin-kernel
branch
from
September 22, 2026 20:32
95cfada to
7aafc3e
Compare
shaofeiqi
marked this pull request as ready for review
September 22, 2026 20:34
lhez
approved these changes
Sep 23, 2026
max-krasnyansky
approved these changes
Sep 23, 2026
1 task done
wanghqc
added a commit
to qualcomm/llama.cpp
that referenced
this pull request
Sep 25, 2026
217 upstream commits since ad6c668, 8 of them in ggml-opencl. Two files conflicted, 16 hunks. - ssm_scan: upstream's generic kernel (ggml-org#28881) is added beside the specialised Mamba-2 kernels as the fallback for element-wise A and any other power-of-two d_state. The specialised d128/d256 kernels keep their row-folded variants and snapshot support; all of them are released when the device cannot give them a 64-lane subgroup, as upstream does. supports_op keeps the snapshot-width restriction and widens d_state to upstream's rule. - FA bin kernel (ggml-org#29046), q6_K ILA GEMM (ggml-org#28678, ggml-org#29057), q4_0/q4_K dp4a ILA GEMMs (ggml-org#29055, ggml-org#29056): taken as upstream wrote them. The capability check reads has_integer_dot_product, this branch's name for the field. - q4_0 MoE dp4a/ILA arbitration: kept this branch's version, which upstream adopted with the same routing threshold.
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
Add an optimized DP4A bin kernel for Q6_K non-MoE GEMM.
Requirements