faiss/c_api/gpu
Patrick Weizhi Xu 1ea134eb83 Remove redundant c_api headers while installing (#1841)
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
2021-04-26 02:20:23 -07:00
..
CMakeLists.txt Remove redundant c_api headers while installing (#1841) 2021-04-26 02:20:23 -07:00
DeviceUtils_c.cpp Enable clang-format + autofix. 2021-02-25 04:46:10 -08:00
DeviceUtils_c.h Added C API(GPU) to CMake and CircleCI (#1700) 2021-03-04 05:04:00 -08:00
GpuAutoTune_c.cpp Added C API(GPU) to CMake and CircleCI (#1700) 2021-03-04 05:04:00 -08:00
GpuAutoTune_c.h Added C API(GPU) to CMake and CircleCI (#1700) 2021-03-04 05:04:00 -08:00
GpuClonerOptions_c.cpp Enable clang-format + autofix. 2021-02-25 04:46:10 -08:00
GpuClonerOptions_c.h Added C API(GPU) to CMake and CircleCI (#1700) 2021-03-04 05:04:00 -08:00
GpuIndex_c.cpp Enable clang-format + autofix. 2021-02-25 04:46:10 -08:00
GpuIndex_c.h Added C API(GPU) to CMake and CircleCI (#1700) 2021-03-04 05:04:00 -08:00
GpuIndicesOptions_c.h Enable clang-format + autofix. 2021-02-25 04:46:10 -08:00
GpuResources_c.cpp Added C API(GPU) to CMake and CircleCI (#1700) 2021-03-04 05:04:00 -08:00
GpuResources_c.h Added C API(GPU) to CMake and CircleCI (#1700) 2021-03-04 05:04:00 -08:00
StandardGpuResources_c.cpp Added C API(GPU) to CMake and CircleCI (#1700) 2021-03-04 05:04:00 -08:00
StandardGpuResources_c.h Added C API(GPU) to CMake and CircleCI (#1700) 2021-03-04 05:04:00 -08:00
example_gpu_c.c Added C API(GPU) to CMake and CircleCI (#1700) 2021-03-04 05:04:00 -08:00
macros_impl.h Enable clang-format + autofix. 2021-02-25 04:46:10 -08:00