fn
gpu_scatter_add
::mlx::core::array gpu_scatter_add(const ::mlx::core::array & base, const int & idx, const ::mlx::core::array & upd, const int & axes)MLX's scatter-add kernels have no complex64 form, so a complex scatter-add runs on each part (by_complex_parts): the real parts add to the real parts and the imaginary to the imaginary.