Public Member Functions | |
IndexWrapper (int numGpus, std::function< std::unique_ptr< GpuIndex >(GpuResources *, int)> init) | |
faiss::Index * | getIndex () |
void | runOnIndices (std::function< void(GpuIndex *)> f) |
void | setNumProbes (int nprobe) |
Public Attributes | |
std::vector< std::unique_ptr < faiss::gpu::StandardGpuResources > > | resources |
std::vector< std::unique_ptr < GpuIndex > > | subIndex |
std::unique_ptr < faiss::gpu::IndexProxy > | proxyIndex |
Definition at line 26 of file IndexWrapper.h.