opencl: add int8 dp4 dense and MoE prefill optimization for Adreno GPUs#25537
Merged
Conversation
1a5011f to
7fd1258
Compare
7fd1258 to
c9d5ec1
Compare
c9d5ec1 to
5149b40
Compare
lhez
approved these changes
Jul 11, 2026
max-krasnyansky
approved these changes
Jul 11, 2026
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
Additional information
Here is a quick perf on X2-90, pp512, ON vs OFF same binary, without QPM bin kernels:
For X1-85: q4_K/q6_K MoE X1 gate wins +20–23%, dense tile +56%.
Right now, it is default-on for Adreno X2E, and there are some regresses on X1's narrower ALU / lower occupancy. X1 keeps the f16 path mostly.
Requirements