Performance improvements, better readme and complete python bindings
🧪 Test / test (push) Failing after 28m30s
🧪 Test / test (push) Failing after 28m30s
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
cmake_minimum_required(VERSION 3.21)
|
||||
|
||||
add_executable(bench_pipeline bench_pipeline.cpp)
|
||||
target_link_libraries(bench_pipeline PRIVATE kpn)
|
||||
target_compile_options(bench_pipeline PRIVATE -O3 -march=native)
|
||||
|
||||
find_package(TBB QUIET)
|
||||
if(TBB_FOUND)
|
||||
target_link_libraries(bench_pipeline PRIVATE TBB::tbb)
|
||||
target_compile_definitions(bench_pipeline PRIVATE KPN_BENCH_TBB=1)
|
||||
message(STATUS "TBB found — enabling TBB benchmarks")
|
||||
else()
|
||||
message(STATUS "TBB not found — TBB benchmarks disabled")
|
||||
endif()
|
||||
Reference in New Issue
Block a user