From 214b1c1a06dede56ca58c12535c1bf6dda1199e9 Mon Sep 17 00:00:00 2001 From: Angelos Katharopoulos Date: Thu, 2 Oct 2025 11:16:17 -0700 Subject: [PATCH] Remove moves --- mlx/backend/cuda/reduce/col_reduce.cu | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mlx/backend/cuda/reduce/col_reduce.cu b/mlx/backend/cuda/reduce/col_reduce.cu index 63940b2d4..6b18d1d0a 100644 --- a/mlx/backend/cuda/reduce/col_reduce.cu +++ b/mlx/backend/cuda/reduce/col_reduce.cu @@ -339,13 +339,12 @@ void col_reduce( // Small col reduce with a single or contiguous reduction axis if (args.non_col_reductions == 1 && args.reduction_size <= 32 && args.reduction_stride % (16 / in.itemsize()) == 0) { - col_reduce_small( - encoder, in, out, reduce_type, axes, plan, std::move(args)); + col_reduce_small(encoder, in, out, reduce_type, axes, plan, args); return; } // Fallback col reduce - col_reduce_looped(encoder, in, out, reduce_type, axes, plan, std::move(args)); + col_reduce_looped(encoder, in, out, reduce_type, axes, plan, args); } } // namespace mlx::core