Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/common/range_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ GetRangeSearchResult(const faiss::RangeSearchResult& res, const bool is_ip, cons
distances = new float[total_valid];
labels = new int64_t[total_valid];

#pragma omp parallel for
for (auto i = 0; i < nq; i++) {
FilterRangeSearchResultForOneNq(res.lims[i + 1] - res.lims[i], res.distances + res.lims[i],
res.labels + res.lims[i], is_ip, radius, range_filter, lims[i + 1] - lims[i],
Expand Down
2 changes: 0 additions & 2 deletions src/index/diskann/diskann.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
// is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
// or implied. See the License for the specific language governing permissions and limitations under the License.

#include <omp.h>

#include <cstdint>

#include "common/range_util.h"
Expand Down
3 changes: 0 additions & 3 deletions src/index/hnsw/hnsw.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@

#include "knowhere/feder/HNSW.h"

#include <omp.h>

#include <exception>
#include <new>

#include "common/range_util.h"
Expand Down