Faiss
文档
首页
Wiki
C++ API
类列表
Class faiss::FaissException
Class faiss::IndexReplicasTemplate
Class faiss::ThreadedIndex
Class faiss::WorkerThread
Class faiss::gpu::CpuTimer
Class faiss::gpu::CublasHandleScope
Class faiss::gpu::CudaEvent
Class faiss::gpu::DeviceScope
Class faiss::gpu::GpuIcmEncoder
Class faiss::gpu::GpuIndex
Class faiss::gpu::GpuIndexBinaryFlat
Class faiss::gpu::GpuIndexFlat
Class faiss::gpu::GpuIndexFlatIP
Class faiss::gpu::GpuIndexFlatL2
Class faiss::gpu::GpuIndexIVF
Class faiss::gpu::GpuIndexIVFFlat
Class faiss::gpu::GpuIndexIVFPQ
Class faiss::gpu::GpuIndexIVFScalarQuantizer
Class faiss::gpu::GpuResources
Class faiss::gpu::GpuResourcesProvider
Class faiss::gpu::GpuResourcesProviderFromInstance
Class faiss::gpu::KernelTimer
Class faiss::gpu::StackDeviceMemory
Class faiss::gpu::StandardGpuResources
Class faiss::gpu::StandardGpuResourcesImpl
文件列表
命名空间列表
结构体列表
Faiss
类列表
Class faiss::gpu::DeviceScope
查看页面源代码
Class faiss::gpu::DeviceScope
class
DeviceScope
RAII 对象,用于设置当前设备,并在销毁时恢复之前的设备
公共函数
explicit
DeviceScope
(
int
device
)
~DeviceScope
(
)
私有成员
int
prevDevice_