Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions server/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -946,6 +946,17 @@ if(DFLASH27B_TESTS)
${CMAKE_CURRENT_SOURCE_DIR}/deps/llama.cpp/ggml/include)
target_link_libraries(bench_rocmfp_mix_gateup_glu PRIVATE
ggml ggml-base ${DFLASH27B_GGML_BACKEND_TARGET} hip::host)

# Benchmark, not a test: compares the generic segmented full sort with
# the exact two-stage block-radix TOP_K used by the DS4 long-context
# indexer. It also checks selected-index set parity at every tile count.
add_executable(bench_ds4_topk test/bench_ds4_topk.cpp)
set_source_files_properties(test/bench_ds4_topk.cpp PROPERTIES LANGUAGE HIP)
set_target_properties(bench_ds4_topk PROPERTIES HIP_ARCHITECTURES "${_dflash_archs}")
target_include_directories(bench_ds4_topk PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/deps/llama.cpp/ggml/include)
target_link_libraries(bench_ds4_topk PRIVATE
ggml ggml-base ${DFLASH27B_GGML_BACKEND_TARGET} hip::host)
endif()
add_executable(test_qwen35_tensor_parallel test/test_qwen35_tensor_parallel.cpp)
target_include_directories(test_qwen35_tensor_parallel PRIVATE ${DFLASH27B_SRC_INCLUDE_DIRS})
Expand Down Expand Up @@ -1572,6 +1583,7 @@ if(DFLASH27B_TESTS)
test/test_server_unit.cpp
test/test_anchor_params.cpp
test/test_derived_scalars.cpp
test/test_adaptive_spec_width.cpp
test/test_adaptive_keep_ratio.cpp
test/test_skip_park_guard.cpp
test/test_bandit_integration.cpp
Expand Down
Loading