]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
opencl: add sqr, sqrt, mean and ssm_conv (#17476)
authorlhez <redacted>
Wed, 26 Nov 2025 21:29:58 +0000 (13:29 -0800)
committerGitHub <redacted>
Wed, 26 Nov 2025 21:29:58 +0000 (13:29 -0800)
commit7cba58bbeac0c262bde7d45adb452133f53cb56f
treeb2b8b0276c2c502bc80f5cdac3bd55b139d349f8
parent5449367b2125d63069fad8d2ca13d0c5ebb2f003
opencl: add sqr, sqrt, mean and ssm_conv (#17476)

* opencl: add sqr

* opencl: add sqrt

* opencl: add mean

* opencl: add ssm_conv

* opencl: add missing cl_khr_fp16

* opencl: do sqrt in f32 then convert to f16 for better precision
ggml/src/ggml-opencl/CMakeLists.txt
ggml/src/ggml-opencl/ggml-opencl.cpp
ggml/src/ggml-opencl/kernels/mean.cl [new file with mode: 0644]
ggml/src/ggml-opencl/kernels/sqr.cl [new file with mode: 0644]
ggml/src/ggml-opencl/kernels/sqrt.cl [new file with mode: 0644]
ggml/src/ggml-opencl/kernels/ssm_conv.cl [new file with mode: 0644]