]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
opencl: add iq4_nl support (#22272)
authorlhez <redacted>
Sun, 26 Apr 2026 04:21:58 +0000 (21:21 -0700)
committerGitHub <redacted>
Sun, 26 Apr 2026 04:21:58 +0000 (21:21 -0700)
commitf454bd7eb8944629aabca163ea1c6e67e53fd77e
treed084f0e8146888390cae0397b16ae62cfd9c3a25
parentb760272f1a25fcae065d827ce2cbcaa035597b02
opencl: add iq4_nl support (#22272)

* opencl: add general support for iq4_nl

* opencl: add iq4_nl gemm/gemv for adreno

* opencl: pack 2 lut entries into a uint
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_iq4_nl_f32.cl [new file with mode: 0644]
ggml/src/ggml-opencl/kernels/gemv_noshuffle_iq4_nl_f32.cl [new file with mode: 0644]
ggml/src/ggml-opencl/kernels/mul_mm_iq4_nl_f32_l4_lm.cl [new file with mode: 0644]
ggml/src/ggml-opencl/kernels/mul_mv_iq4_nl_f32.cl [new file with mode: 0644]
ggml/src/ggml-opencl/kernels/mul_mv_iq4_nl_f32_flat.cl [new file with mode: 0644]