From edc830dcd3b8f985b52836d6bc6ead6e2e772fc1 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 1 Jan 2024 22:50:55 -0500 Subject: [PATCH] spelling: buffer Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- mlx/backend/metal/indexing.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mlx/backend/metal/indexing.cpp b/mlx/backend/metal/indexing.cpp index eb9a8efb6..1f905db1a 100644 --- a/mlx/backend/metal/indexing.cpp +++ b/mlx/backend/metal/indexing.cpp @@ -102,7 +102,7 @@ void Gather::eval_gpu(const std::vector& inputs, array& out) { static_cast(idx_strides_buf.raw_ptr()) + i * idx_ndim); } - // Allocate the argument bufer + // Allocate the argument buffer auto arg_buf = allocator::malloc_or_wait(arg_enc->encodedLength()); // Register data with the encoder @@ -246,7 +246,7 @@ void Scatter::eval_gpu(const std::vector& inputs, array& out) { static_cast(idx_strides_buf.raw_ptr()) + i * idx_ndim); } - // Allocate the argument bufer + // Allocate the argument buffer auto arg_buf = allocator::malloc_or_wait(arg_enc->encodedLength()); // Register data with the encoder