faiss/c_api
Kaival Parikh a4401c13d8 Allow using custom index readers and writers ()
Summary:
### Description

- Create custom readers and writers for index IO, which take function pointers as input
- Also expose these from the C_API

This is helpful for FFI use, where calling processes would pass upcall stubs for streamlined IO

Pull Request resolved: https://github.com/facebookresearch/faiss/pull/4180

Reviewed By: gtwang01

Differential Revision: D71208266

Pulled By: mnorris11

fbshipit-source-id: ab82397d4780a2a07c7bfdc52329968377f42af4
2025-04-01 11:05:29 -07:00
..
gpu Publish the C API to Conda () 2025-03-30 20:11:39 -07:00
impl Allow using custom index readers and writers () 2025-04-01 11:05:29 -07:00
utils
AutoTune_c.cpp
AutoTune_c.h
CMakeLists.txt Allow using custom index readers and writers () 2025-04-01 11:05:29 -07:00
Clustering_c.cpp
Clustering_c.h
INSTALL.md
IndexBinary_c.cpp
IndexBinary_c.h
IndexFlat_c.cpp
IndexFlat_c.h
IndexIVFFlat_c.cpp
IndexIVFFlat_c.h
IndexIVF_c.cpp
IndexIVF_c.h
IndexLSH_c.cpp
IndexLSH_c.h
IndexPreTransform_c.cpp
IndexPreTransform_c.h
IndexReplicas_c.cpp
IndexReplicas_c.h
IndexScalarQuantizer_c.cpp
IndexScalarQuantizer_c.h
IndexShards_c.cpp
IndexShards_c.h
Index_c.cpp
Index_c.h
MetaIndexes_c.cpp
MetaIndexes_c.h
VectorTransform_c.cpp
VectorTransform_c.h
clone_index_c.cpp
clone_index_c.h
error_c.h
error_impl.cpp
error_impl.h
example_c.c
faiss_c.h
index_factory_c.cpp
index_factory_c.h
index_io_c.cpp Allow using custom index readers and writers () 2025-04-01 11:05:29 -07:00
index_io_c.h Allow using custom index readers and writers () 2025-04-01 11:05:29 -07:00
macros_impl.h