Skip to content

Commit

Permalink
Remove confusing comments in partitioning.cpp (facebookresearch#3104)
Browse files Browse the repository at this point in the history
Summary:
Fix facebookresearch#3095

Pull Request resolved: facebookresearch#3104

Reviewed By: mlomeli1

Differential Revision: D50595865

Pulled By: mdouze

fbshipit-source-id: f9107bda114a77d6e1f0da32c3451b7182d32e60
  • Loading branch information
chasingegg authored and facebook-github-bot committed Nov 2, 2023
1 parent 6c89c8b commit 6b76150
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions faiss/utils/partitioning.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -750,8 +750,6 @@ typename C::T partition_fuzzy(
size_t q_min,
size_t q_max,
size_t* q_out) {
// the code below compiles and runs without AVX2 but it's slower than
// the scalar implementation
#ifdef __AVX2__
constexpr bool is_uint16 = std::is_same<typename C::T, uint16_t>::value;
if (is_uint16 && is_aligned_pointer(vals)) {
Expand Down

0 comments on commit 6b76150

Please sign in to comment.