Fix incorrect path and typos (#2630)

This commit is contained in:
AN Long
2025-09-28 22:03:04 +09:00
committed by GitHub
parent b466dea982
commit e76a8dd5c5
2 changed files with 3 additions and 3 deletions

View File

@@ -9,7 +9,7 @@
#include "mlx/backend/cpu/simd/base_simd.h" #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 // __XROS_2_0 is not defined, the expression evaluates
// to true instead of false setting the SIMD library // to true instead of false setting the SIMD library
// higher than it should be even on macOS < 15 // higher than it should be even on macOS < 15

View File

@@ -378,7 +378,7 @@ void Scatter::eval_gpu(const std::vector<array>& inputs, array& out) {
} }
if (upd_ndim == 0) { if (upd_ndim == 0) {
// Need placeholders so Metal doesn't compalain // Need placeholders so Metal doesn't complain
int shape_ = 0; int shape_ = 0;
int64_t stride_ = 0; int64_t stride_ = 0;
compute_encoder.set_bytes(shape_, 3); compute_encoder.set_bytes(shape_, 3);
@@ -393,7 +393,7 @@ void Scatter::eval_gpu(const std::vector<array>& inputs, array& out) {
// Set output info // Set output info
size_t out_ndim = out.ndim(); size_t out_ndim = out.ndim();
if (out_ndim == 0) { if (out_ndim == 0) {
// Need placeholders so Metal doesn't compalain // Need placeholders so Metal doesn't complain
int shape_ = 0; int shape_ = 0;
int64_t stride_ = 0; int64_t stride_ = 0;
compute_encoder.set_bytes(shape_, 7); compute_encoder.set_bytes(shape_, 7);