modular icon indicating copy to clipboard operation
modular copied to clipboard

[docs] Add constraint documentation for various `reduce`-like functions in simd.mojo

Open Brian-M-J opened this issue 1 year ago • 2 comments

Fixes #2237 for reduce-like functions in simd.mojo:

  • Adds documentation for constraint on value of size_out not exceeding width of input vector in reduce_add, reduce_mul, reduce_max and reduce_min.

Signed-off-by: Brian-M-J [email protected]

Brian-M-J avatar May 01 '24 11:05 Brian-M-J

Is the constraint on size_out the only one for reduce_add or does "The element type of the vector must be integer or FP." also apply?

Brian-M-J avatar May 01 '24 11:05 Brian-M-J

✅🟣 This contribution has been merged 🟣✅

Your pull request has been merged to the internal upstream Mojo sources. It will be reflected here in the Mojo repository on the nightly branch during the next Mojo nightly release, typically within the next 24-48 hours.

We use Copybara to merge external contributions, click here to learn more.

modularbot avatar May 14 '24 22:05 modularbot

Landed in b4da05cef19a6c79cad786ea9c8e2f22d092bd75! Thank you for your contribution 🎉

modularbot avatar May 15 '24 16:05 modularbot