]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
opencl: refactor expm1 and softplus (#19404)
authorshaofeiqi <redacted>
Tue, 17 Feb 2026 22:47:18 +0000 (14:47 -0800)
committerGitHub <redacted>
Tue, 17 Feb 2026 22:47:18 +0000 (14:47 -0800)
commite2f19b320fa358bb99cee41e2f4606f4ee93cc0c
tree3b60528a9141888f79afaeb4c32da3bca9f364af
parent983559d24b20e71b9d85e50d998507acbe327c05
opencl: refactor expm1 and softplus (#19404)

* opencl: refactor expm1

* opencl: refactor softplus

* opencl: use h for half literals

---------

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