Skip to content

Commit

Permalink
Add AVX-512 implementation for the distance and scalar quantizer func…
Browse files Browse the repository at this point in the history
…tions. (#3853)

Summary:
The distance and scalar quantizer functions currently have AVX2 implementations. This patch adds the AVX-512 equivalents for each of the AVX2 implementations.

While preparing to push this PR, I realized that you have already implemented the AVX-512 equivalent for [HNSW::MinimaxHeap::pop_min](https://github.com/facebookresearch/faiss/blob/a166e13a25b2a5fe46adce4d7d06677d5199e598/faiss/impl/HNSW.cpp#L1176-L1265), which is great.

Pull Request resolved: #3853

Test Plan:
Imported from GitHub, without a `Test Plan:` line.

Top of the stack D62993711 is green

Reviewed By: asadoughi

Differential Revision: D62989543

Pulled By: mengdilin

fbshipit-source-id: 913403fadbfc512d195fe3411ee761d8ad025245
  • Loading branch information
mulugetam authored and facebook-github-bot committed Sep 20, 2024
1 parent 838612c commit 4eecd91
Show file tree
Hide file tree
Showing 3 changed files with 1,576 additions and 28 deletions.
Loading

0 comments on commit 4eecd91

Please sign in to comment.