Skip to content

Commit 1b3894e

Browse files
Update ggml/src/ggml-cuda/mmvq.cu
Co-authored-by: Johannes Gäßler <[email protected]>
1 parent 15f4dca commit 1b3894e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ggml/src/ggml-cuda/mmvq.cu

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,7 @@ static __global__ void mul_mat_vec_q(
203203
}
204204
}
205205

206-
static std::pair<dim3, dim3> calc_launch_params(const int ncols_y, const int nrows_x, const int warp_size, const mmvq_parameter_table_id table_id)
207-
{
206+
static std::pair<dim3, dim3> calc_launch_params(const int ncols_y, const int nrows_x, const int warp_size, const mmvq_parameter_table_id table_id) {
208207
const int64_t nblocks = (nrows_x + calc_rows_per_block(ncols_y, table_id) - 1) / calc_rows_per_block(ncols_y, table_id);
209208
const dim3 block_nums(nblocks, 1, 1);
210209
const dim3 block_dims(warp_size, calc_nwarps(ncols_y, table_id), 1);

0 commit comments

Comments
 (0)