]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
opencl: add sqr, sqrt, mean and ssm_conv (llama/17476)
authorlhez <redacted>
Wed, 26 Nov 2025 21:29:58 +0000 (13:29 -0800)
committerGeorgi Gerganov <redacted>
Thu, 11 Dec 2025 13:32:46 +0000 (15:32 +0200)
commit4771c476c7998cd4e4d4f89a78ab429ba0205b52
tree1dc345460e5556434fa72d72a0813271cf5fa15e
parentc6b3a42cd02d5b248e35fb524c1a2a294e95e2f8
opencl: add sqr, sqrt, mean and ssm_conv (llama/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
src/ggml-opencl/CMakeLists.txt
src/ggml-opencl/ggml-opencl.cpp
src/ggml-opencl/kernels/mean.cl [new file with mode: 0644]
src/ggml-opencl/kernels/sqr.cl [new file with mode: 0644]
src/ggml-opencl/kernels/sqrt.cl [new file with mode: 0644]
src/ggml-opencl/kernels/ssm_conv.cl [new file with mode: 0644]