diff --git a/ggml/src/ggml-opencl/ggml-opencl.cpp b/ggml/src/ggml-opencl/ggml-opencl.cpp index 61386c3918..0ccdb4c328 100644 --- a/ggml/src/ggml-opencl/ggml-opencl.cpp +++ b/ggml/src/ggml-opencl/ggml-opencl.cpp @@ -2695,16 +2695,6 @@ template <> struct cl_kernel_arg_setter { } }; -template <> struct cl_kernel_arg_setter>> { - typedef void func_t(cl_mem); - - static size_t set_arg(cl_kernel kernel, size_t index, cl_mem arg) { - CL_CHECK(clSetKernelArg(kernel, index, sizeof(arg), &arg)); - return index + 1; - } -}; - - template <> struct cl_kernel_arg_setter { typedef void func_t(cl_ulong);