From 59b779b745bf439074b1c9080f8d72ccb94c75ce Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 1 Jan 2024 22:57:13 -0500 Subject: [PATCH] spelling: unnecessary Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- examples/extensions/axpby/axpby.h | 2 +- mlx/primitives.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/extensions/axpby/axpby.h b/examples/extensions/axpby/axpby.h index 3f470fd50..2b85dadb2 100644 --- a/examples/extensions/axpby/axpby.h +++ b/examples/extensions/axpby/axpby.h @@ -39,7 +39,7 @@ class Axpby : public Primitive { * A primitive must know how to evaluate itself on the CPU/GPU * for the given inputs and populate the output array. * - * To avoid unecessary allocations, the evaluation function + * To avoid unnecessary allocations, the evaluation function * is responsible for allocating space for the array. */ void eval_cpu(const std::vector& inputs, array& out) override; diff --git a/mlx/primitives.h b/mlx/primitives.h index f9508096f..deeb498fa 100644 --- a/mlx/primitives.h +++ b/mlx/primitives.h @@ -49,7 +49,7 @@ class Primitive { * A primitive must know how to evaluate itself on * the CPU/GPU for the given inputs and populate the output array. * - * To avoid unecessary allocations, the evaluation function + * To avoid unnecessary allocations, the evaluation function * is responsible for allocating space for the array. */ virtual void eval_cpu(const std::vector& inputs, array& out) = 0;