]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/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>
Fri, 12 Dec 2025 15:53:09 +0000 (17:53 +0200)
commit74ef5dd1a90da0a3a2833ca67ff6204572032739
tree5940a0460b7ec1ca29ba2f2ba349cb2cec6beb85
parent3de43724658cb18f66cca648e966b3a90d2e9646
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
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]