Commit 7bbb42f
authored
Add support for sizes arrays (#64)
This PR adds the ability in the C++ library to read "sizes" arrays instead of the "size N index" arrays. (The latter was missing the final element which had to be fixed up later in the code.)
* New function `sizes_to_indices` that converts a vector of sizes to a vector of indices
* Removed fixup code from `qv` ivf queries
* Updates to setup.bash to use sizes arrays rather than index arrays
* Renamed the CLI programs `ivf_hack` to `ivf_flat` and `flat` to `flat_l2`1 parent 9b498c5 commit 7bbb42f
File tree
17 files changed
+417
-363
lines changed- src
- .idea
- benchmarks
- include
- detail
- flat
- ivf
- linalg
- src
17 files changed
+417
-363
lines changedThis file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments