4 Commits

Author SHA1 Message Date
George Wang
80a8ff5e5a Unit tests for distances_simd.cpp
Summary:
distances_simd.cpp had insufficient test coverage. While there may be some codepaths untested due to compiler flags, this should cover most of it.

Also added a couple comments and fixed a typo

Reviewed By: pankajsingh88

Differential Revision: D66792601

fbshipit-source-id: 24301ffd383d21703f7579096c6aa9b41ece1509
2024-12-04 18:34:34 -08:00
Michael Norris
eff0898a13 Enable linting: lint config changes plus arc lint command (#3966)
Summary:
Pull Request resolved: https://github.com/facebookresearch/faiss/pull/3966

This actually enables the linting.

Manual changes:
- tools/arcanist/lint/fbsource-licenselint-config.toml
- tools/arcanist/lint/fbsource-lint-engine.toml

Automated changes:
`arc lint --apply-patches --take LICENSELINT --paths-cmd 'hg files faiss'`

Reviewed By: asadoughi

Differential Revision: D64484165

fbshipit-source-id: 4f2f6e953c94ef6ebfea8a5ae035ccfbea65ed04
2024-10-22 09:46:48 -07:00
Fernando Gasperi
e3deb71cdb Enable for faiss tests (#3002)
Summary:
Pull Request resolved: https://github.com/facebookresearch/faiss/pull/3002

title

Reviewed By: jbardini

Differential Revision: D48266242

fbshipit-source-id: b53e186f1954916a90dc8dbba67963f40d0aead7
2023-08-14 08:03:40 -07:00
Alexandr Guzhva
d0ba4c04ca Faster versions of fvec_op_ny_Dx for AVX2 (#2811)
Summary:
Pull Request resolved: https://github.com/facebookresearch/faiss/pull/2811

Use transpose_AxB kernels to speedup computations.

Reviewed By: mdouze

Differential Revision: D44726814

fbshipit-source-id: a1dd3e289f4ed564a5bece699bee0af88c9925b0
2023-04-24 15:03:45 -07:00