Page MenuHomePhabricator

[libcxx] implement <experimental/simd> mask reductions
Needs ReviewPublic

Authored by timshen on Jan 8 2018, 4:46 PM.



Implemented reduce using "identity_value", with the following requirement from the caller:

binary_op(x, identity_value) == binary_op(identity_value, x) == x, for all x.

Event Timeline

timshen created this revision.Jan 8 2018, 4:46 PM
lichray added inline comments.Jan 18 2018, 4:29 PM

Specified in terms of the transparent plus<>.

timshen edited the summary of this revision. (Show Details)Apr 5 2018, 11:48 AM
miyuki added a subscriber: miyuki.Jul 4 2018, 7:34 AM