Skip to content

Commit

Permalink
use pw specializations in rbc
Browse files Browse the repository at this point in the history
  • Loading branch information
benfred committed Feb 14, 2023
1 parent d905266 commit 8eaba84
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 189 deletions.
2 changes: 1 addition & 1 deletion cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ if(RAFT_COMPILE_NN_LIBRARY)

target_link_libraries(
raft_nn_lib
PUBLIC raft::raft
PUBLIC raft::raft raft::raft_distance_lib
PRIVATE nvidia::cutlass::cutlass
)
target_compile_options(
Expand Down
4 changes: 1 addition & 3 deletions cpp/src/nn/specializations/ball_cover_all_knn_query.cu
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@
#include <raft/neighbors/ball_cover_types.hpp>

// Ignore upstream specializations to avoid unnecessary recompiling
#ifdef RAFT_DISTANCE_COMPILED
static_assert(RAFT_DISTANCE_COMPILED, "Requires distance specializations");
#include <raft/distance/specializations.cuh>
#endif

#include <raft/neighbors/specializations/detail/ball_cover_lowdim.hpp>
#include <raft/neighbors/specializations/fused_l2_knn.cuh>
#include <raft/neighbors/specializations/knn.cuh>
Expand Down
4 changes: 1 addition & 3 deletions cpp/src/nn/specializations/ball_cover_build_index.cu
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@
#include <raft/neighbors/ball_cover_types.hpp>

// Ignore upstream specializations to avoid unnecessary recompiling
#ifdef RAFT_DISTANCE_COMPILED
static_assert(RAFT_DISTANCE_COMPILED, "Requires distance specializations");
#include <raft/distance/specializations.cuh>
#endif

#include <raft/neighbors/specializations/detail/ball_cover_lowdim.hpp>
#include <raft/neighbors/specializations/fused_l2_knn.cuh>
#include <raft/neighbors/specializations/knn.cuh>
Expand Down
4 changes: 1 addition & 3 deletions cpp/src/nn/specializations/ball_cover_knn_query.cu
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@
#include <raft/neighbors/ball_cover_types.hpp>

// Ignore upstream specializations to avoid unnecessary recompiling
#ifdef RAFT_DISTANCE_COMPILED
static_assert(RAFT_DISTANCE_COMPILED, "Requires distance specializations");
#include <raft/distance/specializations.cuh>
#endif

#include <raft/neighbors/specializations/detail/ball_cover_lowdim.hpp>
#include <raft/neighbors/specializations/fused_l2_knn.cuh>
#include <raft/neighbors/specializations/knn.cuh>
Expand Down
45 changes: 0 additions & 45 deletions cpp/src/nn/specializations/knn_long_float_int.cu

This file was deleted.

44 changes: 0 additions & 44 deletions cpp/src/nn/specializations/knn_long_float_uint.cu

This file was deleted.

44 changes: 0 additions & 44 deletions cpp/src/nn/specializations/knn_uint_float_int.cu

This file was deleted.

46 changes: 0 additions & 46 deletions cpp/src/nn/specializations/knn_uint_float_uint.cu

This file was deleted.

0 comments on commit 8eaba84

Please sign in to comment.