aboutsummaryrefslogtreecommitdiff
path: root/ggml-cuda.cu
diff options
context:
space:
mode:
authorSalvador E. Tropea <stropea@inti.gob.ar>2023-06-28 14:27:31 -0300
committerGitHub <noreply@github.com>2023-06-28 20:27:31 +0300
commit5b351e94d041742cd50ffcf2d44718d63bab398a (patch)
tree79756150fdad3c7a280a1ca495db2c00c67b0ff9 /ggml-cuda.cu
parent6432aabb6dc887436e4d57414b63116189c3b13b (diff)
cuda : remove nchannels_x argument from mul_mat_vec_nc_f16_f32 (#2028)
- Not used
Diffstat (limited to 'ggml-cuda.cu')
-rw-r--r--ggml-cuda.cu4
1 files changed, 2 insertions, 2 deletions
diff --git a/ggml-cuda.cu b/ggml-cuda.cu
index 5f05d91..4e0d3db 100644
--- a/ggml-cuda.cu
+++ b/ggml-cuda.cu
@@ -1292,7 +1292,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 = (const half *) vx;
@@ -1698,7 +1698,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<<<block_nums, block_dims, 0, stream>>>
- (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(