mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-24 13:28:50 +01:00
ggml : fix bug in ggml_compute_forward_add_q_f32 (#1918)
This commit is contained in:
parent
e1886cf4fe
commit
8596af4277
2
ggml.c
2
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user