-
Notifications
You must be signed in to change notification settings - Fork 112
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
Reenable SimdOps.assembleAndSum; implement Panama/Native equivalent for CosineDecoder acceleration #368
Conversation
b43d85c
to
83590f0
Compare
83590f0
to
feb1e02
Compare
…t. Call binding from NativeVectorUtilSupport
This looks reasonable to me in implementing what I described in the linked issue. Basic performance testing shows the anticipated improvements for Panama/Native cosine and Panama dot product. @marianotepper can you also take a review pass here and see if it makes sense to you? Interested in your input and also looking for a second review since I did contribute some commits to this PR. |
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.
It looks good to me.
My only suggestion would be to use a more descriptive name than decodedCosineSimilarity. Given that we are light on documentation, I would at least use a name like pqDecodedCosineSimilarity to give it some context.
@marianotepper thanks for your review. I prefixed (and fixed casing) on all |
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.
Agree with the name change.
LGTM |
Fixes: #367