From f2adb5638d54147b315ff8e7d7013b5a69acee3f Mon Sep 17 00:00:00 2001 From: Angelos Katharopoulos Date: Wed, 6 Aug 2025 16:58:23 -0700 Subject: [PATCH] Fix typo in metal command encoder (#2471) --- mlx/backend/metal/device.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlx/backend/metal/device.h b/mlx/backend/metal/device.h index dfa21aa0a2..00df2ddeba 100644 --- a/mlx/backend/metal/device.h +++ b/mlx/backend/metal/device.h @@ -104,7 +104,7 @@ struct CommandEncoder { }; // Outputs of all kernels in the encoder including temporaries - std::unordered_set outputs() { + std::unordered_set& outputs() { return all_outputs_; };