Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REVIEW] Move ANN to RAFT (additional updates) #270

Merged
merged 2 commits into from
Jun 10, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Fixing style
  • Loading branch information
cjnolet committed Jun 9, 2021
commit 7a91ce7cc957ff731e0e47f685e3583e1ff9c2ee
2 changes: 0 additions & 2 deletions cpp/include/raft/spatial/knn/detail/common_faiss.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,11 @@
#include <faiss/gpu/GpuDistance.h>
#include <raft/linalg/distance_type.h>


namespace raft {
namespace spatial {
namespace knn {
namespace detail {


inline faiss::MetricType build_faiss_metric(
raft::distance::DistanceType metric) {
switch (metric) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ inline void knn_merge_parts(value_t *inK, value_idx *inV, value_t *outK,
inK, inV, outK, outV, n_samples, n_parts, k, stream, translations);
}


/**
* Search the kNN for the k-nearest neighbors of a set of query vectors
* @param[in] input vector of device device memory array pointers to search
Expand Down