Skip to content

Halfvec avx512 fp16#3

Closed
klmckeig wants to merge 64 commits into
masterfrom
halfvec_avx512_fp16
Closed

Halfvec avx512 fp16#3
klmckeig wants to merge 64 commits into
masterfrom
halfvec_avx512_fp16

Conversation

@klmckeig
Copy link
Copy Markdown
Owner

@klmckeig klmckeig commented Dec 8, 2025

No description provided.

lucagiac81 and others added 30 commits March 25, 2025 13:09
* vectorize: optimize VectorSumCenter and HalfvecSumCenter

The functions VectorSumCenter and HalfvecSumCenter were not being
vectorized by the compiler. A few slight changes will allow these
optimizations to take place and get a performance boost by utilizing
SIMD instructions.

This optimization helps improve performance of vector operations in IVF
index building and updating.

* Removing const, commenting that it is only vectoirzed on ARM
* Vectorizing vector_concat for improved performance

On an ARM chip this should generate SIMD instructions to copy the two
incoming vectors to the new vector as opposed to doing it all in
software.

* Moving declarations to above CheckDim

* Removing const from dims

* Formatting
@klmckeig klmckeig closed this Dec 8, 2025
@klmckeig klmckeig deleted the halfvec_avx512_fp16 branch December 8, 2025 20:51
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.

5 participants