enhance: Remove omp from segcore (#29207)

Signed-off-by: Yudong Cai <yudong.cai@zilliz.com>
This commit is contained in:
Cai Yudong 2023-12-15 14:00:39 +08:00 committed by GitHub
parent 2f7252b44e
commit 26409d801e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,7 +82,6 @@ ReGenRangeSearchResult(DatasetPtr data_set,
}
// The subscript of p_id and p_dist
#pragma omp parallel for
for (int i = 0; i < nq; i++) {
std::priority_queue<ResultPair, std::vector<ResultPair>, decltype(cmp)>
pq(cmp);