diff --git a/mlx/backend/cuda/no_cuda.cpp b/mlx/backend/cuda/no_cuda.cpp index 175a505b4..d81b4ebaa 100644 --- a/mlx/backend/cuda/no_cuda.cpp +++ b/mlx/backend/cuda/no_cuda.cpp @@ -35,9 +35,9 @@ std::vector precompiled_cuda_kernel( const std::vector&, std::tuple, std::tuple, - int shared_memory, - std::optional init_value, - bool ensure_row_contiguous, + int /* shared_memory */, + std::optional /* init_value */, + bool /* ensure_row_contiguous */, StreamOrDevice) { throw std::runtime_error("[cuda_kernel] No CUDA back-end."); }