Skip to content

Commit dc29eed

Browse files
committed
wip: change vector to scalar data type
Signed-off-by: Aaron Teo <[email protected]>
1 parent 5d478c7 commit dc29eed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/src/ggml-cpu/ggml-cpu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3140,7 +3140,7 @@ void ggml_cpu_fp32_to_fp16(const float * x, ggml_fp16_t * y, int64_t n) {
31403140

31413141
#if defined(__NNPA__)
31423142
for (; i + 7 < n; i += 8) {
3143-
uint16x8_t tmp[8];
3143+
uint16_t tmp[8];
31443144
float32x4_t v_x1 = vec_xl(0, x + i + 0);
31453145
float32x4_t v_x2 = vec_xl(0, x + i + 4);
31463146
uint16x8_t v_dlf16 = vec_round_from_fp32(v_x1, v_x2, 0);

0 commit comments

Comments
 (0)