From e76a8dd5c5c80e8595deb1d16af24728b1a977da Mon Sep 17 00:00:00 2001 From: AN Long Date: Sun, 28 Sep 2025 22:03:04 +0900 Subject: [PATCH] Fix incorrect path and typos (#2630) --- mlx/backend/cpu/simd/accelerate_simd.h | 2 +- mlx/backend/metal/indexing.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mlx/backend/cpu/simd/accelerate_simd.h b/mlx/backend/cpu/simd/accelerate_simd.h index ed7d11482..914831055 100644 --- a/mlx/backend/cpu/simd/accelerate_simd.h +++ b/mlx/backend/cpu/simd/accelerate_simd.h @@ -9,7 +9,7 @@ #include "mlx/backend/cpu/simd/base_simd.h" -// There seems to be a bug in sims/base.h +// There seems to be a bug in simd/base_simd.h // __XROS_2_0 is not defined, the expression evaluates // to true instead of false setting the SIMD library // higher than it should be even on macOS < 15 diff --git a/mlx/backend/metal/indexing.cpp b/mlx/backend/metal/indexing.cpp index 972b458d7..025098757 100644 --- a/mlx/backend/metal/indexing.cpp +++ b/mlx/backend/metal/indexing.cpp @@ -378,7 +378,7 @@ void Scatter::eval_gpu(const std::vector& inputs, array& out) { } if (upd_ndim == 0) { - // Need placeholders so Metal doesn't compalain + // Need placeholders so Metal doesn't complain int shape_ = 0; int64_t stride_ = 0; compute_encoder.set_bytes(shape_, 3); @@ -393,7 +393,7 @@ void Scatter::eval_gpu(const std::vector& inputs, array& out) { // Set output info size_t out_ndim = out.ndim(); if (out_ndim == 0) { - // Need placeholders so Metal doesn't compalain + // Need placeholders so Metal doesn't complain int shape_ = 0; int64_t stride_ = 0; compute_encoder.set_bytes(shape_, 7);