Skip to content

Commit e2ee929

Browse files
committed
remove unused function
1 parent 59a308b commit e2ee929

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

faiss/utils/simdlib_avx2.h

-6
Original file line numberDiff line numberDiff line change
@@ -202,12 +202,6 @@ struct simd16uint16 : simd256bit {
202202
return simd16uint16(_mm256_cmpeq_epi16(lhs.i, rhs.i));
203203
}
204204

205-
bool is_same(simd16uint16 other) const {
206-
const __m256i pcmp = _mm256_cmpeq_epi16(i, other.i);
207-
unsigned bitmask = _mm256_movemask_epi8(pcmp);
208-
return (bitmask == 0xffffffffU);
209-
}
210-
211205
simd16uint16 operator~() const {
212206
return simd16uint16(_mm256_xor_si256(i, _mm256_set1_epi32(-1)));
213207
}

0 commit comments

Comments
 (0)