]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
opencl: refactor expm1 and softplus (llama/19404)
authorshaofeiqi <redacted>
Tue, 17 Feb 2026 22:47:18 +0000 (14:47 -0800)
committerGeorgi Gerganov <redacted>
Wed, 25 Feb 2026 10:32:13 +0000 (12:32 +0200)
commit074d57ee91a0d0504d58afe502f10a703f6e3efd
treec14856ec4ad1b196ee5e8efb4ebd59f050936418
parent66a9b2fde56f232cb91dff25820da366cd56224d
opencl: refactor expm1 and softplus (llama/19404)

* opencl: refactor expm1

* opencl: refactor softplus

* opencl: use h for half literals

---------

Co-authored-by: Li He <redacted>
src/ggml-opencl/ggml-opencl.cpp
src/ggml-opencl/kernels/expm1.cl
src/ggml-opencl/kernels/softplus.cl