Skip to content

Commit

Permalink
Small follow-up to specializations cleanup (#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: #1332
  • Loading branch information
cjnolet authored Mar 12, 2023
1 parent c71673c commit b12fc82
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 b12fc82

Please sign in to comment.