This repository was archived by the owner on Aug 16, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
knowhere/knowhere/index/vector_index/impl/bruteforce Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ get_build_type( TARGET BUILD_TYPE
39
39
message ( STATUS "Build type = ${BUILD_TYPE} " )
40
40
41
41
get_knowhere_version ( TARGET KNOWHERE_VERSION
42
- DEFAULT "1.0.0 " )
42
+ DEFAULT "1.0.1 " )
43
43
message ( STATUS "Build version = ${KNOWHERE_VERSION} " )
44
44
45
45
get_last_commit_id ( LAST_COMMIT_ID )
Original file line number Diff line number Diff line change 14
14
// See the License for the specific language governing permissions and
15
15
// limitations under the License.
16
16
17
- #include < omp.h>
17
+ // TODO: Add back the omp include when issue #15585 is resolved.
18
+ // https://github.com/milvus-io/milvus/issues/15585
19
+ // #include <omp.h>
18
20
#include " knowhere/index/vector_index/impl/bruteforce/BruteForce.h"
19
21
20
22
namespace knowhere {
@@ -30,7 +32,9 @@ void knn_L2sqr_sse(
30
32
float *value = res->val ;
31
33
int64_t *labels = res->ids ;
32
34
33
- #pragma omp parallel for
35
+ // TODO: Re-enable parallel run when issue #15585 is resolved.
36
+ // https://github.com/milvus-io/milvus/issues/15585
37
+ // #pragma omp parallel for
34
38
for (size_t i = 0 ; i < nx; i++) {
35
39
const float *x_i = x + i * d;
36
40
const float *y_j = y;
@@ -66,7 +70,9 @@ void knn_inner_product_sse(const float * x,
66
70
float * value = res->val ;
67
71
int64_t * labels = res->ids ;
68
72
69
- #pragma omp parallel for
73
+ // TODO: Re-enable parallel run when issue #15585 is resolved.
74
+ // https://github.com/milvus-io/milvus/issues/15585
75
+ // #pragma omp parallel for
70
76
for (size_t i = 0 ; i < nx; i++) {
71
77
const float *x_i = x + i * d;
72
78
const float *y_j = y;
You can’t perform that action at this time.
0 commit comments