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;