-
Notifications
You must be signed in to change notification settings - Fork 2.5k
ContiguousCollection protocol revisited #990
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
ContiguousCollection protocol revisited #990
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
vDSP_vsaddi
is a bad function to use here because B
is actually a scalar. You want to use vDSP_vaddi
throughout (or maybe vDSP_vadd
and change element types to Float
to maximize familiarity for reviewers; the float functions are much more idiomatic in vDSP).
Oops in fact that was a typo, I meant |
Fortran. Boy, I don’t know. |
Co-Authored-By: airspeedswift <airspeedswift@users.noreply.github.com>
A re-pitch of the protocols dropped from SE-0237, with motivating example.