From 4af3c50d7bc6cfbdc04f959a7f6df561f714ab5a Mon Sep 17 00:00:00 2001 From: "xj.lin" Date: Tue, 9 Jul 2019 15:09:08 +0800 Subject: [PATCH] fix build error Former-commit-id: f9b1e883c3bea2f1e4283aae5fea41f14dce5b6a --- cpp/src/utils/ValidationUtil.cpp | 2 +- cpp/thirdparty/knowhere | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/src/utils/ValidationUtil.cpp b/cpp/src/utils/ValidationUtil.cpp index 65cd81e6..78d586da 100644 --- a/cpp/src/utils/ValidationUtil.cpp +++ b/cpp/src/utils/ValidationUtil.cpp @@ -59,7 +59,7 @@ ValidateTableIndexType(int32_t index_type) { auto engine_type = engine::EngineType(index_type); switch (engine_type) { case engine::EngineType::FAISS_IDMAP: - case engine::EngineType::FAISS_IVFFLAT: { + case engine::EngineType::FAISS_IVFFLAT_GPU: { SERVER_LOG_DEBUG << "Index type: " << index_type; return SERVER_SUCCESS; } diff --git a/cpp/thirdparty/knowhere b/cpp/thirdparty/knowhere index 3a30677b..3a052d06 160000 --- a/cpp/thirdparty/knowhere +++ b/cpp/thirdparty/knowhere @@ -1 +1 @@ -Subproject commit 3a30677b8ab105955534922d1677e8fa99ef0406 +Subproject commit 3a052d063ff9b360529a4a120f9703f00c603437 -- GitLab