Commit e16bfd8
committed
upgrade horizontal sum in distance_single_code for PQ/IVFPQ (#2830)
Summary:
Pull Request resolved: facebookresearch/faiss#2830
17 cycles per AVX2 horizontal sum instead of 19
Reviewed By: mdouze
Differential Revision: D45244153
fbshipit-source-id: 15accba2e8b4f12725dba41696c302e72f61c2db1 parent f6337cc commit e16bfd8
1 file changed
+12
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
31 | 27 | | |
32 | | - | |
33 | | - | |
34 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
35 | 33 | | |
36 | 34 | | |
37 | 35 | | |
| |||
0 commit comments