Faiss
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
Public Member Functions | Public Attributes | List of all members
faiss::gpu::IndexWrapper< GpuIndex > Struct Template Reference

Public Member Functions

 IndexWrapper (int numGpus, std::function< std::unique_ptr< GpuIndex >(GpuResources *, int)> init)
 
faiss::IndexgetIndex ()
 
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
 

Detailed Description

template<typename GpuIndex>
struct faiss::gpu::IndexWrapper< GpuIndex >

Definition at line 26 of file IndexWrapper.h.


The documentation for this struct was generated from the following files: