Skip to content

Commit f0d46ef

Browse files
authored
opencl: remove unnecessary assert for add (#13257)
1 parent de4c07f commit f0d46ef

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ggml/src/ggml-opencl/ggml-opencl.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4855,8 +4855,6 @@ bool ggml_cl_compute_forward(ggml_backend_t backend, struct ggml_tensor * tensor
48554855
if (!any_on_device) {
48564856
return false;
48574857
}
4858-
GGML_ASSERT(ggml_is_contiguous(src0));
4859-
GGML_ASSERT(ggml_is_contiguous(src1));
48604858
func = ggml_cl_add;
48614859
break;
48624860
case GGML_OP_MUL:

0 commit comments

Comments
 (0)