diff --git a/cpp/src/cache/DataObj.h b/cpp/src/cache/DataObj.h index 12406301cb656b90e89fe048200d6165cdb8b59a..f9215bc152096c1444297a2b954d16351cd54e2e 100644 --- a/cpp/src/cache/DataObj.h +++ b/cpp/src/cache/DataObj.h @@ -18,7 +18,7 @@ #pragma once -#include "src/wrapper/vec_index.h" +#include "src/wrapper/VecIndex.h" #include diff --git a/cpp/src/db/engine/ExecutionEngineImpl.cpp b/cpp/src/db/engine/ExecutionEngineImpl.cpp index 45a7699c10e22bb54a8552ccf099529ca8e04b2c..b9d18b4a2f1d00f48573a8812f5848b2b1079ac8 100644 --- a/cpp/src/db/engine/ExecutionEngineImpl.cpp +++ b/cpp/src/db/engine/ExecutionEngineImpl.cpp @@ -23,8 +23,8 @@ #include "utils/CommonUtil.h" #include "utils/Exception.h" -#include "src/wrapper/vec_index.h" -#include "src/wrapper/vec_impl.h" +#include "src/wrapper/VecIndex.h" +#include "src/wrapper/VecImpl.h" #include "knowhere/common/Exception.h" #include "server/Config.h" diff --git a/cpp/src/db/engine/ExecutionEngineImpl.h b/cpp/src/db/engine/ExecutionEngineImpl.h index 44d59d83e87f254f160fb8344c5de36a0192558e..1a3c6c83be5d22bec08bc7b64ff369b000415b40 100644 --- a/cpp/src/db/engine/ExecutionEngineImpl.h +++ b/cpp/src/db/engine/ExecutionEngineImpl.h @@ -18,7 +18,7 @@ #pragma once #include "ExecutionEngine.h" -#include "src/wrapper/vec_index.h" +#include "src/wrapper/VecIndex.h" #include #include diff --git a/cpp/src/wrapper/data_transfer.cpp b/cpp/src/wrapper/DataTransfer.cpp similarity index 98% rename from cpp/src/wrapper/data_transfer.cpp rename to cpp/src/wrapper/DataTransfer.cpp index ad29e6cd7d896c7fb71a1981285a514a33d760f3..294a3c20ab12c6083c068d93209d21b9f4145290 100644 --- a/cpp/src/wrapper/data_transfer.cpp +++ b/cpp/src/wrapper/DataTransfer.cpp @@ -16,7 +16,7 @@ // under the License. -#include "data_transfer.h" +#include "DataTransfer.h" namespace zilliz { diff --git a/cpp/src/wrapper/data_transfer.h b/cpp/src/wrapper/DataTransfer.h similarity index 100% rename from cpp/src/wrapper/data_transfer.h rename to cpp/src/wrapper/DataTransfer.h diff --git a/cpp/src/wrapper/vec_impl.cpp b/cpp/src/wrapper/VecImpl.cpp similarity index 99% rename from cpp/src/wrapper/vec_impl.cpp rename to cpp/src/wrapper/VecImpl.cpp index e909e611b2a6adff6b4d43898d4bfd236cc8e2f5..24f6a2bb0ef5b518f936f9ee040b988eed7486e6 100644 --- a/cpp/src/wrapper/vec_impl.cpp +++ b/cpp/src/wrapper/VecImpl.cpp @@ -21,8 +21,8 @@ #include "knowhere/index/vector_index/IndexGPUIVF.h" #include "knowhere/common/Exception.h" #include "knowhere/index/vector_index/helpers/Cloner.h" -#include "vec_impl.h" -#include "data_transfer.h" +#include "VecImpl.h" +#include "DataTransfer.h" namespace zilliz { diff --git a/cpp/src/wrapper/vec_impl.h b/cpp/src/wrapper/VecImpl.h similarity index 99% rename from cpp/src/wrapper/vec_impl.h rename to cpp/src/wrapper/VecImpl.h index b02ffd690b66f9f88c2c2b245f777cbd81941c02..c111eb75b4367407a75bc62454cee1ce1e590ce3 100644 --- a/cpp/src/wrapper/vec_impl.h +++ b/cpp/src/wrapper/VecImpl.h @@ -19,7 +19,7 @@ #pragma once #include "knowhere/index/vector_index/VectorIndex.h" -#include "vec_index.h" +#include "VecIndex.h" namespace zilliz { diff --git a/cpp/src/wrapper/vec_index.cpp b/cpp/src/wrapper/VecIndex.cpp similarity index 99% rename from cpp/src/wrapper/vec_index.cpp rename to cpp/src/wrapper/VecIndex.cpp index 17a27caa74ebf82b907d5237c4ac69f93c8fe35f..cd8843e5ac23da6b9ec389fd46dd75196b232a63 100644 --- a/cpp/src/wrapper/vec_index.cpp +++ b/cpp/src/wrapper/VecIndex.cpp @@ -25,8 +25,8 @@ #include "knowhere/index/vector_index/IndexKDT.h" #include "knowhere/index/vector_index/IndexNSG.h" #include "knowhere/common/Exception.h" -#include "vec_index.h" -#include "vec_impl.h" +#include "VecIndex.h" +#include "VecImpl.h" #include "utils/Log.h" #include diff --git a/cpp/src/wrapper/vec_index.h b/cpp/src/wrapper/VecIndex.h similarity index 100% rename from cpp/src/wrapper/vec_index.h rename to cpp/src/wrapper/VecIndex.h diff --git a/cpp/unittest/scheduler/scheduler_test.cpp b/cpp/unittest/scheduler/scheduler_test.cpp index dd2c8e8cb9598fa1df472f00e2904a22ad91e9b1..8fc65f7d3b59b7d7ff3562f1893370c059ab6a24 100644 --- a/cpp/unittest/scheduler/scheduler_test.cpp +++ b/cpp/unittest/scheduler/scheduler_test.cpp @@ -26,7 +26,7 @@ #include "cache/DataObj.h" #include "cache/GpuCacheMgr.h" #include "utils/Error.h" -#include "wrapper/vec_index.h" +#include "wrapper/VecIndex.h" namespace zilliz { diff --git a/cpp/unittest/server/cache_test.cpp b/cpp/unittest/server/cache_test.cpp index 3587846085f13e70372fbc68973eded9f61676c3..6c2160c9ab40a06b796d6540921b44486c1cda17 100644 --- a/cpp/unittest/server/cache_test.cpp +++ b/cpp/unittest/server/cache_test.cpp @@ -20,7 +20,7 @@ #include "cache/GpuCacheMgr.h" #include "server/ServerConfig.h" #include "utils/Error.h" -#include "wrapper/vec_index.h" +#include "wrapper/VecIndex.h" using namespace zilliz::milvus; diff --git a/cpp/unittest/wrapper/CMakeLists.txt b/cpp/unittest/wrapper/CMakeLists.txt index d0eb3bfcfbcf05c731079da94343263653c3dbe5..633cbaf0534a9eba5ad3b66c5061236a8ab2634d 100644 --- a/cpp/unittest/wrapper/CMakeLists.txt +++ b/cpp/unittest/wrapper/CMakeLists.txt @@ -21,9 +21,9 @@ include_directories("${CUDA_TOOLKIT_ROOT_DIR}/include") link_directories("${CUDA_TOOLKIT_ROOT_DIR}/lib64") set(wrapper_files - ${MILVUS_ENGINE_SRC}/wrapper/data_transfer.cpp - ${MILVUS_ENGINE_SRC}/wrapper/vec_impl.cpp - ${MILVUS_ENGINE_SRC}/wrapper/vec_index.cpp) + ${MILVUS_ENGINE_SRC}/wrapper/DataTransfer.cpp + ${MILVUS_ENGINE_SRC}/wrapper/VecImpl.cpp + ${MILVUS_ENGINE_SRC}/wrapper/VecIndex.cpp) set(util_files utils.cpp diff --git a/cpp/unittest/wrapper/wrapper_test.cpp b/cpp/unittest/wrapper/wrapper_test.cpp index b052758b6ccfa76dec4e3b626f7a9178cddc9b04..4c50201fb38e6eb5875355a5c03747211e533448 100644 --- a/cpp/unittest/wrapper/wrapper_test.cpp +++ b/cpp/unittest/wrapper/wrapper_test.cpp @@ -16,7 +16,7 @@ // under the License. #include "utils/easylogging++.h" -#include "src/wrapper/vec_index.h" +#include "src/wrapper/VecIndex.h" #include "knowhere/index/vector_index/helpers/FaissGpuResourceMgr.h" #include "utils.h"