From ace3a0ac5a0f020b51dac90141e3c57a9c8dc8bc Mon Sep 17 00:00:00 2001 From: Awni Hannun Date: Sat, 23 Dec 2023 16:37:10 -0800 Subject: [PATCH] fix no metal build --- 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; }