mirror of https://github.com/milvus-io/milvus.git
MS-442 fix merge error
Former-commit-id: 26cc2b6dc6b7b1c0a9d1b3d687bc3bf06097080fpull/191/head
parent
288dbd899c
commit
0561c4b0cb
|
@ -123,6 +123,7 @@ void GPUIVF::search_impl(int64_t n,
|
|||
int64_t *labels,
|
||||
const Config &cfg) {
|
||||
if (auto device_index = std::static_pointer_cast<faiss::gpu::GpuIndexIVF>(index_)) {
|
||||
// todo: allocate search memory
|
||||
auto nprobe = cfg.get_with_default("nprobe", size_t(1));
|
||||
|
||||
std::lock_guard<std::mutex> lk(mutex_);
|
||||
|
|
|
@ -27,6 +27,8 @@ aux_source_directory(${CMAKE_SOURCE_DIR}/src/knowhere/index/vector_index/nsg nsg
|
|||
set(interface_src
|
||||
${CMAKE_SOURCE_DIR}/src/knowhere/index/vector_index/ivf.cpp
|
||||
${CMAKE_SOURCE_DIR}/src/knowhere/index/vector_index/gpu_ivf.cpp
|
||||
${CMAKE_SOURCE_DIR}/src/knowhere/index/vector_index/cloner.cpp
|
||||
${CMAKE_SOURCE_DIR}/src/knowhere/index/vector_index/idmap.cpp
|
||||
${CMAKE_SOURCE_DIR}/src/knowhere/index/vector_index/nsg_index.cpp
|
||||
${CMAKE_SOURCE_DIR}/src/knowhere/adapter/structure.cpp
|
||||
${CMAKE_SOURCE_DIR}/src/knowhere/common/exception.cpp
|
||||
|
|
Loading…
Reference in New Issue