From ec96ee57f40e4b1099721adbf668ab1ce52e5ab7 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Mon, 27 May 2024 15:13:23 +0300 Subject: [PATCH] sycl : add warning and assert --- ggml-sycl.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ggml-sycl.cpp b/ggml-sycl.cpp index 496ec61c3..222d845ff 100644 --- a/ggml-sycl.cpp +++ b/ggml-sycl.cpp @@ -13501,6 +13501,10 @@ inline void ggml_sycl_op_concat(const ggml_tensor *src0, const float *src0_dd, const float *src1_dd, float *dst_dd, const dpct::queue_ptr &main_stream) { +#pragma message("TODO: generalize concat kernel for dim != 2") +#pragma message(" https://github.com/ggerganov/llama.cpp/pull/7563") + int dim = dst->op_params[0]; + GGML_ASSERT(dim != 2); GGML_ASSERT(src0->type == GGML_TYPE_F32); GGML_ASSERT(src1->type == GGML_TYPE_F32);