]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
opencl: add q6_K gemm and gemv kernels for Adreno (#20089)
authorlhez <redacted>
Mon, 23 Mar 2026 19:44:18 +0000 (12:44 -0700)
committerGitHub <redacted>
Mon, 23 Mar 2026 19:44:18 +0000 (12:44 -0700)
commit1772701f99dd3fc13f5783b282c2361eda8ca47c
tree1ed856104d509ce63e4db45eeffa854c6ecf018e
parent39bf0d3c6a95803e0f41aaba069ffbee26721042
opencl: add q6_K gemm and gemv kernels for Adreno (#20089)

* opencl: add q6_K noshuffle kernels, initial q6_K gemv, some host code

* opencl: add q6_K transpose

* opencl: fix cvt kernel name

* opencl: add call to q6_K gemv

* opencl: fix q6_K scale transpose

* opencl: fix loading for gemv q6_K, refactor

* opencl: fix transpose_8_buf kernel assignment, refactor

* opencl: refactor q6_K transpose

* opencl: add gemm_noshuffle_q6_k_f32

* opencl: fix qh loading

* opencl: refactor q6_K gemv host side, release bufs and imgs

* opencl: refactor

* opencl: fix q6_K dequant and scale selection

* opencl: workaround compiler bug, fix dump_tensor

* opencl: refactor q6_K convert kernels

* opencl: unpack transformed q6_K in get_tensor

* opencl: refactor, handle non-uniform workgroups

* opencl: support non-vector subgroup bcast
ggml/src/ggml-opencl/CMakeLists.txt
ggml/src/ggml-opencl/ggml-opencl.cpp
ggml/src/ggml-opencl/kernels/cvt.cl
ggml/src/ggml-opencl/kernels/gemm_noshuffle_q6_k_f32.cl [new file with mode: 0644]
ggml/src/ggml-opencl/kernels/gemv_noshuffle_q6_k_f32.cl [new file with mode: 0644]