Skip to content

Commit a30683f

Browse files
author
liuqi20
committed
add examples/fair-htp-cuda-bench
1 parent 7370e6e commit a30683f

3 files changed

Lines changed: 588 additions & 0 deletions

File tree

examples/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ else()
1818
add_subdirectory(debug)
1919
add_subdirectory(embedding)
2020
add_subdirectory(eval-callback)
21+
add_subdirectory(fair-htp-cuda-bench)
2122

2223
add_subdirectory(gguf-hash)
2324
add_subdirectory(gguf)
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
set(TARGET llama-fair-htp-cuda-bench)
2+
add_executable(${TARGET} fair-htp-cuda-bench.cpp)
3+
install(TARGETS ${TARGET} RUNTIME)
4+
target_link_libraries(${TARGET} PRIVATE ggml ${CMAKE_THREAD_LIBS_INIT})
5+
target_compile_features(${TARGET} PRIVATE cxx_std_17)

0 commit comments

Comments
 (0)