From 6c1cd874351438c3e18d6f3adfab821443e06667 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 1 Jan 2024 22:37:20 -0500 Subject: [PATCH] spelling: memory Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- mlx/backend/metal/allocator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlx/backend/metal/allocator.cpp b/mlx/backend/metal/allocator.cpp index a55690947..af4dd2e36 100644 --- a/mlx/backend/metal/allocator.cpp +++ b/mlx/backend/metal/allocator.cpp @@ -165,7 +165,7 @@ Buffer MetalAllocator::malloc(size_t size) { // Prepare to allocate new memory as needed if (!buf) { - // If we are under very high memoory pressure, we don't allocate further + // If we are under very high memory pressure, we don't allocate further if (device_->currentAllocatedSize() >= block_limit_) { return Buffer{nullptr}; }