opencl: add conv2d kernel (#14403)

* add conv2d kernel

* fix trailing whitespace

* whitespace fixe

* handle f16 input and f16 kernel, more opt

* resolve conflicts

* use enqueue_ndrange_kernel
This commit is contained in:
rmatif
2025-07-21 19:03:19 +02:00
committed by GitHub
parent cd465d823c
commit 6c9ee3b17e
4 changed files with 497 additions and 0 deletions

View File

@@ -105,6 +105,8 @@ set(GGML_OPENCL_KERNELS
pad
repeat
mul_mat_f16_f32
conv2d
conv2d_f16_f32
)
foreach (K ${GGML_OPENCL_KERNELS})