diff --git a/CMakeLists.txt b/CMakeLists.txt index 944b7dee1..1dfd18bcb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,7 +39,7 @@ get_build_type( TARGET BUILD_TYPE message( STATUS "Build type = ${BUILD_TYPE}" ) get_knowhere_version( TARGET KNOWHERE_VERSION - DEFAULT "1.0.0" ) + DEFAULT "1.0.1" ) message( STATUS "Build version = ${KNOWHERE_VERSION}" ) get_last_commit_id( LAST_COMMIT_ID ) diff --git a/knowhere/knowhere/index/vector_index/impl/bruteforce/BruteForce.cpp b/knowhere/knowhere/index/vector_index/impl/bruteforce/BruteForce.cpp index d2564ddd1..63ca32a3f 100644 --- a/knowhere/knowhere/index/vector_index/impl/bruteforce/BruteForce.cpp +++ b/knowhere/knowhere/index/vector_index/impl/bruteforce/BruteForce.cpp @@ -14,7 +14,9 @@ // See the License for the specific language governing permissions and // limitations under the License. -#include +// TODO: Add back the omp include when issue #15585 is resolved. +// https://github.com/milvus-io/milvus/issues/15585 +//#include #include "knowhere/index/vector_index/impl/bruteforce/BruteForce.h" namespace knowhere { @@ -30,7 +32,9 @@ void knn_L2sqr_sse( float *value = res->val; int64_t *labels = res->ids; -#pragma omp parallel for +// TODO: Re-enable parallel run when issue #15585 is resolved. +// https://github.com/milvus-io/milvus/issues/15585 +//#pragma omp parallel for for (size_t i = 0; i < nx; i++) { const float *x_i = x + i * d; const float *y_j = y; @@ -66,7 +70,9 @@ void knn_inner_product_sse(const float * x, float * value = res->val; int64_t * labels = res->ids; -#pragma omp parallel for +// TODO: Re-enable parallel run when issue #15585 is resolved. +// https://github.com/milvus-io/milvus/issues/15585 +//#pragma omp parallel for for (size_t i = 0; i < nx; i++) { const float *x_i = x + i * d; const float *y_j = y;