From 1b23fec0052b94110f5268ca9667f6c621d9a9bb Mon Sep 17 00:00:00 2001 From: Aaron Teo Date: Wed, 25 Jun 2025 01:31:53 +0800 Subject: [PATCH] ggml-cpu: remove mistaken fallback macro fallback logic was already implemented but i was too sleepy to realise Signed-off-by: Aaron Teo --- ggml/src/ggml-cpu/simd-mappings.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ggml/src/ggml-cpu/simd-mappings.h b/ggml/src/ggml-cpu/simd-mappings.h index 927125678..655ab3c6c 100644 --- a/ggml/src/ggml-cpu/simd-mappings.h +++ b/ggml/src/ggml-cpu/simd-mappings.h @@ -135,10 +135,6 @@ uint16x8_t v_h = vec_convert_to_fp16(v_hd, 0); return vec_extract(v_h, 0); } -#else - // fallback to the generic implementation - #define GGML_CPU_FP16_TO_FP32(x) GGML_FP16_TO_FP32(x) - #define GGML_CPU_FP32_TO_FP16(x) GGML_FP32_TO_FP16(x) #endif // On ARM NEON, it's quicker to directly convert x -> x instead of calling into ggml_lookup_fp16_to_fp32,