Skip to content

Commit

Permalink
fix trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
piDack committed Aug 27, 2024
1 parent 1928967 commit 21c16fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ggml/src/ggml-cuda/ssm_conv.cu
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ static __global__ void ssm_conv_f32(
const int ir0 = dr * ith;
const int ir1 = min(ir0 + dr, nr);
const int ir = ir1 - ir0;

// {d_conv - 1 + n_t, d_inner, n_seqs}
// sliding window
const float * s = (const float *) ((const char *) src0 + ir0*src0_nb1 + i2*src0_nb0 + i3*src0_nb2); // {d_conv, d_inner, n_s}
Expand Down Expand Up @@ -54,7 +54,7 @@ static void ssm_conv_f32_cuda(
cudaStream_t stream) {

const dim3 block_dims(WARP_SIZE, n_s, 1);
const int nblocks = n_t;
const int nblocks = n_t;
printf("size is %d\n",nr);
ssm_conv_f32<WARP_SIZE><<<nblocks, block_dims, 0, stream>>>(
src0, src1,
Expand Down

2 comments on commit 21c16fa

@jploski
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: the debug output printf("size is %d\n",nr); should also be removed...

@piDack
Copy link
Contributor Author

@piDack piDack commented on 21c16fa Aug 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😂 Oker

Please sign in to comment.