From: lhez Date: Mon, 12 May 2025 20:13:49 +0000 (-0700) Subject: opencl: remove unnecessary assert for `add` (#13257) X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=f0d46ef15717cd609a7b69cf6190edde64d466c8;p=pkg%2Fggml%2Fsources%2Fllama.cpp opencl: remove unnecessary assert for `add` (#13257) --- diff --git a/ggml/src/ggml-opencl/ggml-opencl.cpp b/ggml/src/ggml-opencl/ggml-opencl.cpp index 05a2f4e6..58694604 100644 --- a/ggml/src/ggml-opencl/ggml-opencl.cpp +++ b/ggml/src/ggml-opencl/ggml-opencl.cpp @@ -4855,8 +4855,6 @@ bool ggml_cl_compute_forward(ggml_backend_t backend, struct ggml_tensor * tensor if (!any_on_device) { return false; } - GGML_ASSERT(ggml_is_contiguous(src0)); - GGML_ASSERT(ggml_is_contiguous(src1)); func = ggml_cl_add; break; case GGML_OP_MUL: