Skip to content
fn

gpu_scatter_prod

::mlx::core::array gpu_scatter_prod(const ::mlx::core::array & base, const int & idx, const ::mlx::core::array & upd, const int & axes)

A product accumulated in float32 for a half input and returned in base's dtype: MLX's kernel multiplies in its operand dtype.