do not use simd neon intrinsics on x86 (#2893)

This commit is contained in:
David Koski
2025-12-10 12:23:28 -08:00
committed by GitHub
parent 208f5441a7
commit 937ce79660
+4
View File
@@ -3,5 +3,9 @@
#include "mlx/backend/cpu/simd/base_simd.h"
#ifdef MLX_USE_ACCELERATE
#if defined(__x86_64__)
// the accelerate_simd implementation require neon -- use base implementation
#else
#include "mlx/backend/cpu/simd/accelerate_simd.h"
#endif
#endif