]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
opencl: remove unnecessary assert for `add` (#13257)
authorlhez <redacted>
Mon, 12 May 2025 20:13:49 +0000 (13:13 -0700)
committerGitHub <redacted>
Mon, 12 May 2025 20:13:49 +0000 (13:13 -0700)
ggml/src/ggml-opencl/ggml-opencl.cpp

index 05a2f4e630a5689e53bf7b3ace166e56ed3e6e5d..586946048380be256ce9c51cc249f9180a9a2b84 100644 (file)
@@ -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: