Skip to content

[Rust] L2 distance on not aligned data#779

Merged
eddyxu merged 7 commits intomainfrom
lei/unaligned_l2
Apr 15, 2023
Merged

[Rust] L2 distance on not aligned data#779
eddyxu merged 7 commits intomainfrom
lei/unaligned_l2

Conversation

@eddyxu
Copy link
Copy Markdown
Member

@eddyxu eddyxu commented Apr 15, 2023

Allow SIMD L2 code running on not cache-line aligned and odd dimensions, which fall back to non-SIMD one transparently.

@eddyxu eddyxu marked this pull request as ready for review April 15, 2023 03:55
Copy link
Copy Markdown
Contributor

@changhiskhan changhiskhan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I vaguely remember we added some enforcement that raises exception if the vector is not aligned so ppl have a good experience. Does that need to be removed ?

@eddyxu eddyxu merged commit 2df015a into main Apr 15, 2023
@eddyxu eddyxu deleted the lei/unaligned_l2 branch April 15, 2023 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants