Skip to content

Commit

Permalink
Removing distance and cluster benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
cjnolet committed Nov 8, 2024
1 parent 2244999 commit b35bdb5
Show file tree
Hide file tree
Showing 15 changed files with 6 additions and 1,339 deletions.
7 changes: 0 additions & 7 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -589,10 +589,3 @@ endif()
if(BUILD_PRIMS_BENCH)
add_subdirectory(bench/prims/)
endif()

# ##################################################################################################
# * build ann benchmark executable -----------------------------------------------

if(BUILD_ANN_BENCH)
add_subdirectory(bench/ann/)
endif()
88 changes: 6 additions & 82 deletions cpp/bench/prims/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,49 +74,9 @@ function(ConfigureBench)
endfunction()

if(BUILD_PRIMS_BENCH)
ConfigureBench(
NAME
CORE_BENCH
PATH
core/bitset.cu
core/copy.cu
main.cpp
)
ConfigureBench(NAME CORE_BENCH PATH core/bitset.cu core/copy.cu main.cpp)

ConfigureBench(
NAME
UTIL_BENCH
PATH
util/popc.cu
main.cpp
)

ConfigureBench(
NAME CLUSTER_BENCH PATH cluster/kmeans_balanced.cu cluster/kmeans.cu
main.cpp OPTIONAL LIB EXPLICIT_INSTANTIATE_ONLY
)

ConfigureBench(
NAME TUNE_DISTANCE PATH distance/tune_pairwise/kernel.cu
distance/tune_pairwise/bench.cu main.cpp
)

ConfigureBench(
NAME
DISTANCE_BENCH
PATH
distance/distance_cosine.cu
distance/distance_exp_l2.cu
distance/distance_l1.cu
distance/distance_unexp_l2.cu
distance/fused_l2_nn.cu
distance/masked_nn.cu
distance/kernels.cu
main.cpp
OPTIONAL
LIB
EXPLICIT_INSTANTIATE_ONLY
)
ConfigureBench(NAME UTIL_BENCH PATH util/popc.cu main.cpp)

ConfigureBench(
NAME
Expand All @@ -137,54 +97,18 @@ if(BUILD_PRIMS_BENCH)
)

ConfigureBench(
NAME MATRIX_BENCH PATH matrix/argmin.cu matrix/gather.cu
matrix/select_k.cu main.cpp OPTIONAL LIB EXPLICIT_INSTANTIATE_ONLY
NAME MATRIX_BENCH PATH matrix/argmin.cu matrix/gather.cu matrix/select_k.cu main.cpp OPTIONAL
LIB EXPLICIT_INSTANTIATE_ONLY
)

ConfigureBench(
NAME RANDOM_BENCH PATH random/make_blobs.cu random/permute.cu
random/rng.cu random/subsample.cu main.cpp
)

ConfigureBench(
NAME
SPARSE_BENCH
PATH
sparse/bitmap_to_csr.cu
sparse/convert_csr.cu
sparse/select_k_csr.cu
NAME RANDOM_BENCH PATH random/make_blobs.cu random/permute.cu random/rng.cu random/subsample.cu
main.cpp
)

ConfigureBench(
NAME
NEIGHBORS_BENCH
PATH
neighbors/knn/brute_force_float_int64_t.cu
neighbors/knn/brute_force_float_uint32_t.cu
neighbors/knn/cagra_float_uint32_t.cu
neighbors/knn/ivf_flat_filter_float_int64_t.cu
neighbors/knn/ivf_flat_float_int64_t.cu
neighbors/knn/ivf_flat_int8_t_int64_t.cu
neighbors/knn/ivf_flat_uint8_t_int64_t.cu
neighbors/knn/ivf_pq_float_int64_t.cu
neighbors/knn/ivf_pq_filter_float_int64_t.cu
neighbors/knn/ivf_pq_int8_t_int64_t.cu
neighbors/knn/ivf_pq_uint8_t_int64_t.cu
${RAFT_SOURCE_DIR}/src/neighbors/detail/ivf_pq_search_filtering_float_int64_t.cu
${RAFT_SOURCE_DIR}/src/neighbors/detail/ivf_pq_compute_similarity_float_float_bitset64.cu
${RAFT_SOURCE_DIR}/src/neighbors/detail/ivf_pq_compute_similarity_float_fp8_false_bitset64.cu
${RAFT_SOURCE_DIR}/src/neighbors/detail/ivf_pq_compute_similarity_float_fp8_true_bitset64.cu
${RAFT_SOURCE_DIR}/src/neighbors/detail/ivf_pq_compute_similarity_float_half_bitset64.cu
${RAFT_SOURCE_DIR}/src/neighbors/detail/ivf_pq_compute_similarity_half_fp8_false_bitset64.cu
${RAFT_SOURCE_DIR}/src/neighbors/detail/ivf_pq_compute_similarity_half_fp8_true_bitset64.cu
${RAFT_SOURCE_DIR}/src/neighbors/detail/ivf_pq_compute_similarity_half_half_bitset64.cu
neighbors/refine_float_int64_t.cu
neighbors/refine_uint8_t_int64_t.cu
NAME SPARSE_BENCH PATH sparse/bitmap_to_csr.cu sparse/convert_csr.cu sparse/select_k_csr.cu
main.cpp
OPTIONAL
LIB
EXPLICIT_INSTANTIATE_ONLY
)

endif()
125 changes: 0 additions & 125 deletions cpp/bench/prims/cluster/kmeans.cu

This file was deleted.

100 changes: 0 additions & 100 deletions cpp/bench/prims/cluster/kmeans_balanced.cu

This file was deleted.

Loading

0 comments on commit b35bdb5

Please sign in to comment.