Skip to content

Commit 49ef4e5

Browse files
lyang24chasingegg
authored andcommitted
feat: add sparse DSP indexes (#1550)
Signed-off-by: lyang24 <lanqingy93@gmail.com>
1 parent f37d2b2 commit 49ef4e5

11 files changed

Lines changed: 3420 additions & 2 deletions

File tree

benchmark/CMakeLists.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,14 @@ endif()
7070
benchmark_test(gen_hdf5_file hdf5/gen_hdf5_file.cpp)
7171
benchmark_test(gen_fbin_file hdf5/gen_fbin_file.cpp)
7272

73+
# Sparse DSP benchmark (standalone, no HDF5/GTest required)
74+
add_executable(benchmark_sparse_dsp benchmark_sparse_dsp.cpp)
75+
target_link_libraries(benchmark_sparse_dsp knowhere)
76+
if(NOT APPLE)
77+
target_link_libraries(benchmark_sparse_dsp atomic)
78+
endif()
79+
install(TARGETS benchmark_sparse_dsp DESTINATION unittest)
80+
7381
# Sparse SIMD benchmark (x86_64 only, standalone, no HDF5 required)
7482
# Only build on x86_64/AMD64, skip on ARM/aarch64/arm64
7583
if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(x86_64|AMD64|amd64|X86_64)$")

0 commit comments

Comments
 (0)