-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ARM64-SVE: No obvious way to mask an Across function #101770
Comments
Having said that, it now occurs to me that for AddAcross you could do:
But that doesn't work for all Across methods. For example, |
@kunalspathak @tannergooding - this came up as part of implementing #101674 |
We discussed it in #101674 (comment) |
Cases like We simply want to prefer |
I think in these cases extra API methods would make sense. This probably needs splitting into two issues then:
|
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch |
Opened:
Closing this issue in favour of those |
ConditionalSelect is used to mask an API, for example:
Is equivalent to:
This does not work when using the across methods.
Is saying to add together all the elements in
a
and place in field 0, zeroing all other elements. Then usemask
to select which elements to pick from the result. That is valid C#, but is a weird thing to do.the more likely use case is to take all the elements in
a
that are marked as active inmask
and add them together, putting them in field 0, zeroing all other elements. There is no obvious way to do this?The text was updated successfully, but these errors were encountered: