Skip to content

Commit 6bd12ce

Browse files
committed
sycl : fix assert (#7563)
1 parent 5442939 commit 6bd12ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml-sycl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13567,7 +13567,7 @@ inline void ggml_sycl_op_concat(const ggml_tensor *src0,
1356713567
#pragma message("TODO: generalize concat kernel for dim != 2")
1356813568
#pragma message(" https://github.com/ggerganov/llama.cpp/pull/7563")
1356913569
int dim = dst->op_params[0];
13570-
GGML_ASSERT(dim != 2);
13570+
GGML_ASSERT(dim == 2);
1357113571

1357213572
GGML_ASSERT(src0->type == GGML_TYPE_F32);
1357313573
GGML_ASSERT(src1->type == GGML_TYPE_F32);

0 commit comments

Comments
 (0)