16 namespace faiss {
namespace gpu {
27 inline int getDevice()
const {
int device_
The GPU device we are resident on.
virtual void add(faiss::Index::idx_t, float const *)=0
GpuResources * resources_
Manages streans, cuBLAS handles and scratch memory for devices.
long idx_t
all indices are this type
MetricType
Some algorithms support both an inner product vetsion and a L2 search version.