From c9d9681a078b5044225e0d8057f9af49ca469646 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Tue, 27 Jun 2023 21:58:36 -0300 Subject: [PATCH] Removed nchannels_x argument from mul_mat_vec_nc_f16_f32 - Not used --- ggml-cuda.cu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ggml-cuda.cu b/ggml-cuda.cu index c34e96abf..ac8f937a8 100644 --- a/ggml-cuda.cu +++ b/ggml-cuda.cu @@ -1283,7 +1283,7 @@ static __global__ void mul_mat_p021_f16_f32(const void * vx, const float * y, fl static __global__ void mul_mat_vec_nc_f16_f32( // nc == non-contiguous const void * vx, const float * y, float * dst, const int ncols_x, const int nrows_x, - const int row_stride_x, const int nchannels_x, const int channel_stride_x) { + const int row_stride_x, const int channel_stride_x) { const half * x = (half *) vx; @@ -1684,7 +1684,7 @@ static void ggml_mul_mat_vec_nc_f16_f32_cuda( const dim3 block_nums(1, nrows_x, nchannels_x); const dim3 block_dims(WARP_SIZE, 1, 1); mul_mat_vec_nc_f16_f32<<>> - (vx, y, dst, ncols_x, nrows_x, row_stride_x, nchannels_x, channel_stride_x); + (vx, y, dst, ncols_x, nrows_x, row_stride_x, channel_stride_x); } static void ggml_cpy_f32_f32_cuda(