]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
opencl: add conv2d kernel (llama/14403)
authorrmatif <redacted>
Mon, 21 Jul 2025 17:03:19 +0000 (19:03 +0200)
committerGeorgi Gerganov <redacted>
Mon, 28 Jul 2025 10:02:32 +0000 (13:02 +0300)
commita2a5612402c0940a6d41404da1f36bb8ec970df8
tree9e8fed0d4ed0e0a0b6491435ee39205541b7d17d
parent52ad451c8a0231eeb9d230bd7746fd16527fec86
opencl: add conv2d kernel (llama/14403)

* add conv2d kernel

* fix trailing whitespace

* whitespace fixe

* handle f16 input and f16 kernel, more opt

* resolve conflicts

* use enqueue_ndrange_kernel
ggml/src/ggml-opencl/CMakeLists.txt
ggml/src/ggml-opencl/ggml-opencl.cpp
ggml/src/ggml-opencl/kernels/conv2d.cl [new file with mode: 0644]
ggml/src/ggml-opencl/kernels/conv2d_f16_f32.cl [new file with mode: 0644]