From ddc124946fec7f34c5becf076e88d2cc28a89132 Mon Sep 17 00:00:00 2001 From: Jianyu Zhang Date: Mon, 4 Mar 2024 08:46:55 +0800 Subject: [PATCH] rm unused function --- ggml-sycl.cpp | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/ggml-sycl.cpp b/ggml-sycl.cpp index 5a9b285bb..512444d3e 100644 --- a/ggml-sycl.cpp +++ b/ggml-sycl.cpp @@ -11155,25 +11155,6 @@ static void mul_mat_vec_iq3_xxs_q8_1_sycl(const void *vx, const void *vy, } - -template -static void mul_mat_vec_q_sycl_submitter(const void *vx, const void *vy, - float *dst, const int ncols, - const int nrows, - dpct::queue_ptr stream) { - GGML_ASSERT(ncols % QK4_0 == 0); - const int block_num_y = (nrows + GGML_SYCL_MMV_Y - 1) / GGML_SYCL_MMV_Y; - const sycl::range<3> block_nums(1, 1, block_num_y); - const sycl::range<3> block_dims(1, GGML_SYCL_MMV_Y, WARP_SIZE); - stream->parallel_for( - sycl::nd_range<3>(block_nums * block_dims, block_dims), [= - ](sycl::nd_item<3> item_ct1) [[intel::reqd_sub_group_size(32)]] { - mul_mat_vec_q( - vx, vy, dst, ncols, nrows, item_ct1); - }); -} - static void ggml_mul_mat_q4_0_q8_1_sycl(const void *vx, const void *vy, float *dst, const int ncols_x, const int nrows_x, const int ncols_y,