From 8b227fa9afe8f87dd9aca99f82d508e313de65bb Mon Sep 17 00:00:00 2001 From: Awni Hannun Date: Sat, 23 Dec 2023 19:18:10 -0800 Subject: [PATCH] fix no metal build (#276) --- mlx/backend/no_metal/metal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlx/backend/no_metal/metal.cpp b/mlx/backend/no_metal/metal.cpp index b3a7dc41c..212ca2839 100644 --- a/mlx/backend/no_metal/metal.cpp +++ b/mlx/backend/no_metal/metal.cpp @@ -7,7 +7,7 @@ namespace mlx::core::metal { void new_stream(Stream) {} -std::shared_ptr new_memory_pool() { +std::shared_ptr new_scoped_memory_pool() { return nullptr; }