From 647f80d09cde3001445b9bab66120c5987c49e03 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 1 Jan 2024 22:27:30 -0500 Subject: [PATCH] spelling: accumulates Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- mlx/backend/metal/reduce.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlx/backend/metal/reduce.cpp b/mlx/backend/metal/reduce.cpp index 6a2ce084b..379e54154 100644 --- a/mlx/backend/metal/reduce.cpp +++ b/mlx/backend/metal/reduce.cpp @@ -176,7 +176,7 @@ void strided_reduce_general_dispatch( // We spread outputs over the x dimension and inputs over the y dimension // Threads with the same lid.x in a given threadgroup work on the same - // output and each thread in the y dimension accumlates for that output + // output and each thread in the y dimension accumulates for that output uint threadgroup_dim_x = std::min(out_size, 128ul); uint threadgroup_dim_y = kernel->maxTotalThreadsPerThreadgroup() / threadgroup_dim_x;