]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
opencl: remove unreachable `return` (#14806)
authorlhez <redacted>
Tue, 22 Jul 2025 06:53:30 +0000 (23:53 -0700)
committerGitHub <redacted>
Tue, 22 Jul 2025 06:53:30 +0000 (08:53 +0200)
ggml/src/ggml-opencl/ggml-opencl.cpp

index a31483b61085a0dabadd6492ed1c5a4c66d53ca5..63ac4a989b08b8da5ab7543ece9a7ba2cbd77ae3 100644 (file)
@@ -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;