From 9bc2183a31d330fce76d4b1ab69925b21112e223 Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Thu, 28 Nov 2024 13:58:26 +0900 Subject: [PATCH] docs: update device.cpp (#1632) unecessary -> unnecessary --- mlx/backend/metal/device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlx/backend/metal/device.cpp b/mlx/backend/metal/device.cpp index 44a1ae9eb..f9ef51044 100644 --- a/mlx/backend/metal/device.cpp +++ b/mlx/backend/metal/device.cpp @@ -280,7 +280,7 @@ void Device::end_encoding(int index) { // - Update the map of outputs to include this command encoder's outputs. // - Always signal this command encoders fence. // - Add a completion handler for this command encoder that removes outputs - // from the map to limit the growth of the map and avoid unecessary waits + // from the map to limit the growth of the map and avoid unnecessary waits // - Temporaries are a special case as they do not cross command encoder // boundaries. These can be removed early from the encoders inputs and // outputs since they don't need synchronization.