Add AVX checks (#20)

Co-authored-by: mancini <mancini@astron.nl>
This commit is contained in:
Bram Veenboer
2025-08-15 10:30:57 +02:00
committed by GitHub
parent e755c1a454
commit 9c17e90c77
6 changed files with 60 additions and 10 deletions

View File

@@ -13,8 +13,11 @@ target_link_libraries(benchmark_reference PRIVATE trigdx benchmark::benchmark)
add_executable(benchmark_lookup benchmark_lookup.cpp)
target_link_libraries(benchmark_lookup PRIVATE trigdx benchmark::benchmark)
add_executable(benchmark_lookup_avx benchmark_lookup_avx.cpp)
target_link_libraries(benchmark_lookup_avx PRIVATE trigdx benchmark::benchmark)
if(HAVE_AVX)
add_executable(benchmark_lookup_avx benchmark_lookup_avx.cpp)
target_link_libraries(benchmark_lookup_avx PRIVATE trigdx
benchmark::benchmark)
endif()
if(TRIGDX_USE_MKL)
add_executable(benchmark_mkl benchmark_mkl.cpp)