Skip to content

Commit 1b23fec

Browse files
committed
ggml-cpu: remove mistaken fallback macro
fallback logic was already implemented but i was too sleepy to realise Signed-off-by: Aaron Teo <[email protected]>
1 parent a02b360 commit 1b23fec

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ggml/src/ggml-cpu/simd-mappings.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,6 @@
135135
uint16x8_t v_h = vec_convert_to_fp16(v_hd, 0);
136136
return vec_extract(v_h, 0);
137137
}
138-
#else
139-
// fallback to the generic implementation
140-
#define GGML_CPU_FP16_TO_FP32(x) GGML_FP16_TO_FP32(x)
141-
#define GGML_CPU_FP32_TO_FP16(x) GGML_FP32_TO_FP16(x)
142138
#endif
143139

144140
// On ARM NEON, it's quicker to directly convert x -> x instead of calling into ggml_lookup_fp16_to_fp32,

0 commit comments

Comments
 (0)