Commit 9b6f9d1
Work around GCC 12 miscompilation of AVX2 histogram (#5124)
Summary:
GCC 12.4 (used in the conda faiss-gpu build) miscompiles the SIMD
histogram_16 code path, causing test_16bin_bounded_bigrange to fail in
the CUDA 12.6 nightly.
Fall back to the scalar implementation when compiling with GCC 12.
🤖 This diff was automatically generated by myclaw_faiss_monitor
Reviewed By: junjieqi
Differential Revision: D1015987341 parent 417c53e commit 9b6f9d1
3 files changed
Lines changed: 22 additions & 5 deletions
File tree
- .github/workflows
- faiss/utils
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
279 | 294 | | |
280 | 295 | | |
281 | 296 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
389 | 393 | | |
390 | 394 | | |
391 | 395 | | |
392 | 396 | | |
393 | 397 | | |
394 | 398 | | |
395 | 399 | | |
| 400 | + | |
396 | 401 | | |
397 | 402 | | |
398 | 403 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 17 | + | |
| 18 | + | |
22 | 19 | | |
23 | 20 | | |
24 | 21 | | |
| |||
0 commit comments