Skip to content

Commit 82f8630

Browse files
committed
Switch ggml_compute_forward_get_rows_f16/bf16 to new ggml_cpu_fp16/bf16_to_fp32
1 parent 3efb0e7 commit 82f8630

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ggml/src/ggml-cpu/ops.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4222,7 +4222,7 @@ static void ggml_compute_forward_get_rows_f16(
42224222

42234223
GGML_ASSERT(i01 >= 0 && i01 < ne01);
42244224

4225-
ggml_fp16_to_fp32_row(
4225+
ggml_cpu_fp16_to_fp32(
42264226
(const ggml_fp16_t*) ((char *) src0->data + i01*nb01 + i11*nb02 + i12*nb03),
42274227
(float *) ((char *) dst->data + i10*nb1 + i11*nb2 + i12*nb3), nc);
42284228
}
@@ -4263,7 +4263,7 @@ static void ggml_compute_forward_get_rows_bf16(
42634263

42644264
GGML_ASSERT(i01 >= 0 && i01 < ne01);
42654265

4266-
ggml_bf16_to_fp32_row(
4266+
ggml_cpu_bf16_to_fp32(
42674267
(const ggml_bf16_t *) ((char *) src0->data + i01*nb01 + i11*nb02 + i12*nb03),
42684268
(float *) ((char *) dst->data + i10*nb1 + i11*nb2 + i12*nb3), nc);
42694269
}

0 commit comments

Comments
 (0)