Skip to content

Commit 982a22e

Browse files
committed
Fix backend test for ssm_conv CUDA op not working
1 parent ce2cba9 commit 982a22e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml-cuda/ssm_conv.cu

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ static __global__ void ssm_conv_f32(
3232
float * s = (float *) wdata_f32 + nc*dr*ith;
3333

3434
for (int i3 = 0; i3 < n_s; ++i3) {
35-
float * s0 = (float *) ((char *) src0 + ir0*src0_nb1) + i3*src0_nb2; // {d_conv, d_inner, n_s}
35+
float * s0 = (float *) ((char *) src0 + ir0*src0_nb1 + i3*src0_nb2); // {d_conv, d_inner, n_s}
3636

3737
// copy the state into working memory
3838
// can't use memcpy because (d_conv) != (d_conv - 1)

0 commit comments

Comments
 (0)