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 |
|
Lucas Hosseini
|
e86bf8cae1
|
Enable clang-format + autofix.
Summary: Format whole codebase with clang-format.
Reviewed By: mdouze
Differential Revision: D22891341
fbshipit-source-id: 673032b2444d61026d1e2c3fa2c5659f178cf58b
|
2021-02-25 04:46:10 -08:00 |
|
shengjun.li
|
908812266c
|
Add heap_replace_top to simplify heap_pop + heap_push (#1597)
Summary:
Signed-off-by: shengjun.li <shengjun.li@zilliz.com>
Add heap_replace_top to simplify heap_pop + heap_push
Pull Request resolved: https://github.com/facebookresearch/faiss/pull/1597
Test Plan:
OMP_NUM_THREADS=1 buck run mode/opt //faiss/benchs/:bench_heap_replace
OMP_NUM_THREADS=8 buck run mode/opt //faiss/benchs/:bench_heap_replace
Reviewed By: beauby
Differential Revision: D25943140
Pulled By: mdouze
fbshipit-source-id: 66fe67779dd281a7753f597542c2e797ba0d7df5
|
2021-01-20 11:28:08 -08:00 |
|