结构体 faiss::gpu::GpuIndexFlatConfig
-
struct GpuIndexFlatConfig : public faiss::gpu::GpuIndexConfig
公共函数
- bool ALIGNED (8) useFloat16
数据是否存储为 float16。
公共成员
-
bool storeTransposed = false
已弃用:不再使用。之前用于指示向量的内部存储是否已转置
-
int device = 0
索引所在的 GPU 设备。
-
MemorySpace memorySpace = MemorySpace::Device
用于主要存储的内存空间。 在 Pascal 及更高版本(CC 6+)架构上,允许 GPU 使用比 GPU 上可用内存更多的内存。
-
bool use_cuvs = false
索引是否应分派到 cuVS?