aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorl3utterfly <gc.pthzfoldr@gmail.com>2023-06-18 19:19:16 +0800
committerGitHub <noreply@github.com>2023-06-18 14:19:16 +0300
commit8596af427722775f0df4a7c90b9af067ba90d4ef (patch)
tree861feef8bb70db78252499945cdfb3fb4e83a0e3
parente1886cf4fe0d0f31661dda52a4a9f34bd9b9009a (diff)
ggml : fix bug in ggml_compute_forward_add_q_f32 (#1918)
-rw-r--r--ggml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ggml.c b/ggml.c
index 78c3653..037f0bc 100644
--- a/ggml.c
+++ b/ggml.c
@@ -7918,7 +7918,7 @@ static void ggml_compute_forward_add_q_f32(
void * src0_row = (void *) ((char *) src0->data + (i01*nb01 + i02*nb02 + i03*nb03));
float * src1_row = (float *)((char *) src1->data + (i11*nb11 + i12*nb12 + i13*nb13));
- void * dst_row = (void *) ((char *) dst->data + ( i1*nb1 + i2*nb2 + i3*nb0));
+ void * dst_row = (void *) ((char *) dst->data + ( i1*nb1 + i2*nb2 + i3*nb3));
assert(ne00 % 32 == 0);