Skip to content

opencl: refactor q8_0 set_tensor and mul_mat host side dispatch for Adreno#21938

Merged
lhez merged 3 commits into
ggml-org:masterfrom
qualcomm:lh/q8_0-mm-host-refactor
Apr 17, 2026
Merged

opencl: refactor q8_0 set_tensor and mul_mat host side dispatch for Adreno#21938
lhez merged 3 commits into
ggml-org:masterfrom
qualcomm:lh/q8_0-mm-host-refactor

Conversation

@lhez

@lhez lhez commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

Overview

The q8_0 set_tensor and mul_mat host side dispatch code for Adreno is a bit messy. This PR does some refactoring to make it cleaner and follow the same pattern as more recently added quantizations, e.g., q4_1, etc.

Additional information

Requirements

@github-actions github-actions Bot added ggml changes relating to the ggml tensor library for machine learning OpenCL Issues specific to the OpenCL backend labels Apr 15, 2026
@lhez
lhez marked this pull request as ready for review April 15, 2026 22:20
@lhez
lhez requested a review from a team as a code owner April 15, 2026 22:20
@lhez

lhez commented Apr 17, 2026

Copy link
Copy Markdown
Contributor Author

Failures are irrelevant - they are with webgpu.

@lhez

lhez commented Apr 17, 2026

Copy link
Copy Markdown
Contributor Author

@ggml-org/maintainers - can I get a second approval?

@lhez
lhez merged commit 5e6c0e1 into ggml-org:master Apr 17, 2026
127 of 140 checks passed
cnsiva pushed a commit to saas-home/llama.cpp that referenced this pull request Apr 17, 2026
…dreno (ggml-org#21938)

* opencl: refactor q8_0 gemm/gemv Adreno dispatch

* opencl: refactor q8_0 set_tensor

* opencl: fix whitespace
samuraieng pushed a commit to samuraieng/llama.cpp that referenced this pull request Apr 19, 2026
…dreno (ggml-org#21938)

* opencl: refactor q8_0 gemm/gemv Adreno dispatch

* opencl: refactor q8_0 set_tensor

* opencl: fix whitespace
mengqin pushed a commit to mengqin/llama.cpp that referenced this pull request Apr 20, 2026
…dreno (ggml-org#21938)

* opencl: refactor q8_0 gemm/gemv Adreno dispatch

* opencl: refactor q8_0 set_tensor

* opencl: fix whitespace
ArberSephirotheca pushed a commit to ArberSephirotheca/llama.cpp that referenced this pull request Apr 21, 2026
…dreno (ggml-org#21938)

* opencl: refactor q8_0 gemm/gemv Adreno dispatch

* opencl: refactor q8_0 set_tensor

* opencl: fix whitespace
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Apr 23, 2026
…dreno (ggml-org#21938)

* opencl: refactor q8_0 gemm/gemv Adreno dispatch

* opencl: refactor q8_0 set_tensor

* opencl: fix whitespace
ljubomirj pushed a commit to ljubomirj/llama.cpp that referenced this pull request May 6, 2026
…dreno (ggml-org#21938)

* opencl: refactor q8_0 gemm/gemv Adreno dispatch

* opencl: refactor q8_0 set_tensor

* opencl: fix whitespace
my-other-github-account pushed a commit to my-other-github-account/llama.cpp that referenced this pull request May 15, 2026
…dreno (ggml-org#21938)

* opencl: refactor q8_0 gemm/gemv Adreno dispatch

* opencl: refactor q8_0 set_tensor

* opencl: fix whitespace
my-other-github-account pushed a commit to my-other-github-account/llama.cpp that referenced this pull request May 15, 2026
…dreno (ggml-org#21938)

* opencl: refactor q8_0 gemm/gemv Adreno dispatch

* opencl: refactor q8_0 set_tensor

* opencl: fix whitespace
fewtarius pushed a commit to fewtarius/CachyLLama that referenced this pull request May 30, 2026
…dreno (ggml-org#21938)

* opencl: refactor q8_0 gemm/gemv Adreno dispatch

* opencl: refactor q8_0 set_tensor

* opencl: fix whitespace
MrLordCat referenced this pull request in MrLordCat/llama.cpp-with-GUI Jul 16, 2026
…dreno (#21938)

* opencl: refactor q8_0 gemm/gemv Adreno dispatch

* opencl: refactor q8_0 set_tensor

* opencl: fix whitespace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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