From: lhez Date: Tue, 22 Jul 2025 06:53:30 +0000 (-0700) Subject: opencl: remove unreachable `return` (llama/14806) X-Git-Tag: upstream/0.0.2404~60 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=f08563f79118e9bce45ce71989d520e14a0e31fd;p=pkg%2Fggml%2Fsources%2Fggml opencl: remove unreachable `return` (llama/14806) --- diff --git a/src/ggml-opencl/ggml-opencl.cpp b/src/ggml-opencl/ggml-opencl.cpp index a31483b6..63ac4a98 100644 --- a/src/ggml-opencl/ggml-opencl.cpp +++ b/src/ggml-opencl/ggml-opencl.cpp @@ -5103,7 +5103,6 @@ static void ggml_cl_conv_2d(ggml_backend_t backend, const ggml_tensor * src0, co shmem_size = (size_t)(BS_K * BS_CRS * sizeof(cl_half) + BS_CRS * (BS_NPQ / VEC_SIZE) * sizeof(cl_float4)); } else { GGML_ASSERT(false && "Unsupported data type combination for conv2d"); - return; } cl_uint idx = 0;