Prabhat Roy
f2f014de50
Added C API(GPU) to CMake and CircleCI ( #1700 )
...
Summary: Pull Request resolved: https://github.com/facebookresearch/faiss/pull/1700
Reviewed By: mdouze
Differential Revision: D26814446
Pulled By: beauby
fbshipit-source-id: 654e0297be929afd42bcfbaf790c5d87f04f5193
2021-03-04 05:04:00 -08: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
Eduardo Pinho
bf593c0fae
[c_api] Fix GPU library build ( #1296 )
...
- depend on libfaiss.so instead of libgpufaiss.so
- update include directives in gpu C wrapper impl
- fix implicit call warning in C examples
2020-07-27 17:26:17 +02:00
Eduardo Pinho
2bfbead8f1
[C API] Update for compatibility with v1.5 ( #858 )
...
* [c_api] Update impl and interface for v1.5
- move IndexShards to dedicated module IndexShards_c.{h|cpp}
- remove getter/setters to unreachable fields
- reimplement faiss_IndexIVF_imbalance_factor (to use invlists)
- minor IndexIVF documentation tweaks
- Remove QueryResult, provide RangeQueryResult
* [c_api] Document FaissErrorCode
* [c_api] Update GPU impl and interface for v1.5
- Remove unavailable method setTempMemoryFraction
* [c_api] Relicense to MIT
In accordance to the rest of the project
2019-06-12 15:46:08 +02:00
Eduardo Pinho
27a4ba0d93
[C API] Multi-GPU functions ( #628 )
...
* [c_api] minor tweak on Index_c header imports
* [c_api] Multi GPU constructs
- Add constructor & destructor for `FaissGpuMultipleClonerOptions`
- Add function `faiss_index_cpu_to_gpu_multiple`
- Add function `faiss_index_cpu_to_gpu_multiple_with_options`
* [c_api] fix doc comments in GpuClonerOptions
* [c_api] Improve cpu_to_gpu_multiple prototype
* [c_api] Improve cpu_to_gpu_multiple prototype
* [c_api] Add dtor definition for GpuMultipleClonerOptions
2018-12-23 18:46:07 +01:00
Eduardo Pinho
de0541c365
Add C API ( #317 )
...
* Add C API
* Add installation instructions for the C API
2018-02-26 11:23:17 +01:00