mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-29 15:05:31 +08:00
clang format
This commit is contained in:
parent
05dda4ab73
commit
bd01ac91c0
@ -46,9 +46,8 @@ IndexFactory(const std::string& type) {
|
||||
return std::make_shared<knowhere::IVFPQ>();
|
||||
} else if (type == "IVFSQ") {
|
||||
return std::make_shared<knowhere::IVFSQ>();
|
||||
}
|
||||
#ifdef MILVUS_GPU_VERSION
|
||||
else if (type == "GPUIVF") {
|
||||
} else if (type == "GPUIVF") {
|
||||
return std::make_shared<knowhere::GPUIVF>(DEVICEID);
|
||||
} else if (type == "GPUIVFPQ") {
|
||||
return std::make_shared<knowhere::GPUIVFPQ>(DEVICEID);
|
||||
@ -56,8 +55,8 @@ IndexFactory(const std::string& type) {
|
||||
return std::make_shared<knowhere::GPUIVFSQ>(DEVICEID);
|
||||
} else if (type == "IVFSQHybrid") {
|
||||
return std::make_shared<knowhere::IVFSQHybrid>(DEVICEID);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
enum class ParameterType {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user