Summary: This diff is related to https://github.com/facebookresearch/faiss/issues/1722 File structure with `-DFAISS_ENABLE_GPU=OFF` ``` /usr/local/include/faiss/c_api ├── AutoTune_c.h ├── clone_index_c.h ├── Clustering_c.h ├── error_c.h ├── error_impl.h ├── faiss_c.h ├── impl │ └── AuxIndexStructures_c.h ├── Index_c.h ├── index_factory_c.h ├── IndexFlat_c.h ├── index_io_c.h ├── IndexIVF_c.h ├── IndexIVFFlat_c.h ├── IndexLSH_c.h ├── IndexPreTransform_c.h ├── IndexScalarQuantizer_c.h ├── IndexShards_c.h ├── macros_impl.h ├── MetaIndexes_c.h └── VectorTransform_c.h ``` File structure with `-DFAISS_ENABLE_GPU=ON` ``` /usr/local/include/faiss/c_api ├── AutoTune_c.h ├── clone_index_c.h ├── Clustering_c.h ├── error_c.h ├── error_impl.h ├── faiss_c.h ├── gpu │ ├── DeviceUtils_c.h │ ├── GpuAutoTune_c.h │ ├── GpuClonerOptions_c.h │ ├── GpuIndex_c.h │ ├── GpuIndicesOptions_c.h │ ├── GpuResources_c.h │ ├── macros_impl.h │ └── StandardGpuResources_c.h ├── impl │ └── AuxIndexStructures_c.h ├── Index_c.h ├── index_factory_c.h ├── IndexFlat_c.h ├── index_io_c.h ├── IndexIVF_c.h ├── IndexIVFFlat_c.h ├── IndexLSH_c.h ├── IndexPreTransform_c.h ├── IndexScalarQuantizer_c.h ├── IndexShards_c.h ├── macros_impl.h ├── MetaIndexes_c.h └── VectorTransform_c.h ``` Pull Request resolved: https://github.com/facebookresearch/faiss/pull/1841 Reviewed By: mdouze Differential Revision: D27992822 Pulled By: beauby fbshipit-source-id: 63fa9a39c77502d138453cb4b04c50652e732196 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
DeviceUtils_c.cpp | ||
DeviceUtils_c.h | ||
GpuAutoTune_c.cpp | ||
GpuAutoTune_c.h | ||
GpuClonerOptions_c.cpp | ||
GpuClonerOptions_c.h | ||
GpuIndex_c.cpp | ||
GpuIndex_c.h | ||
GpuIndicesOptions_c.h | ||
GpuResources_c.cpp | ||
GpuResources_c.h | ||
StandardGpuResources_c.cpp | ||
StandardGpuResources_c.h | ||
example_gpu_c.c | ||
macros_impl.h |