Skip to content

Commit

Permalink
Small follow-up to specializations cleanup (rapidsai#1332)
Browse files Browse the repository at this point in the history
Just making sure the knn bench will properly compile even if only the distance library is compiled.

Authors:
  - Corey J. Nolet (https://github.com/cjnolet)

Approvers:
  - Ben Frederickson (https://github.com/benfred)

URL: rapidsai#1332
  • Loading branch information
cjnolet authored and lowener committed Mar 15, 2023
1 parent 045dd3c commit 291932a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cpp/bench/neighbors/knn.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,10 @@

#if defined RAFT_DISTANCE_COMPILED
#include <raft/neighbors/specializations.cuh>

// TODO: Legacy. Remove when FAISS is removed
#include <raft/spatial/knn/specializations.cuh>
#endif

#if defined RAFT_NN_COMPILED
#include <raft/neighbors/specializations.cuh>
// TODO: Legacy. Remove when FAISS is removed
#include <raft/spatial/knn/specializations.cuh>
#endif

Expand Down

0 comments on commit 291932a

Please sign in to comment.