-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
40 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,34 @@ | ||
file(GLOB_RECURSE SOURCES CONFIGURE_DEPENDS *.cpp) | ||
# gemm benchmarks | ||
add_executable(gemm_benchmarks gemm_benchmark.cpp) | ||
|
||
add_executable(benchmarks ${SOURCES}) | ||
target_link_libraries(gemm_benchmarks PUBLIC benchmark::benchmark PUBLIC xsimd) | ||
|
||
target_link_libraries(benchmarks PUBLIC benchmark::benchmark PUBLIC xsimd) | ||
target_link_libraries(benchmarks PUBLIC LAPACK::LAPACK PUBLIC BLAS::BLAS) | ||
target_include_directories(gemm_benchmarks PUBLIC ../../include) | ||
target_include_directories(gemm_benchmarks PUBLIC ../libs/benchmark/include) | ||
target_include_directories(gemm_benchmarks PUBLIC ../libs/xsimd/include) | ||
target_include_directories(gemm_benchmarks PUBLIC ../libs/eigen) | ||
target_include_directories(gemm_benchmarks PUBLIC ../libs/blaze) | ||
|
||
target_include_directories(benchmarks PUBLIC ../../include) | ||
target_include_directories(benchmarks PUBLIC ../libs/benchmark/include) | ||
target_include_directories(benchmarks PUBLIC ../libs/xsimd/include) | ||
target_include_directories(benchmarks PUBLIC ../libs/eigen) | ||
target_include_directories(benchmarks PUBLIC ../libs/blaze) | ||
# inversion benchmarks | ||
add_executable(inversion_benchmarks inversion_benchmark.cpp) | ||
|
||
target_link_libraries(inversion_benchmarks PUBLIC benchmark::benchmark PUBLIC xsimd) | ||
target_link_libraries(inversion_benchmarks PUBLIC LAPACK::LAPACK PUBLIC BLAS::BLAS) | ||
|
||
target_include_directories(inversion_benchmarks PUBLIC ../../include) | ||
target_include_directories(inversion_benchmarks PUBLIC ../libs/benchmark/include) | ||
target_include_directories(inversion_benchmarks PUBLIC ../libs/xsimd/include) | ||
target_include_directories(inversion_benchmarks PUBLIC ../libs/eigen) | ||
target_include_directories(inversion_benchmarks PUBLIC ../libs/blaze) | ||
|
||
# similarity benchmarks | ||
add_executable(similarity_benchmarks similarity_benchmark.cpp) | ||
|
||
target_link_libraries(similarity_benchmarks PUBLIC benchmark::benchmark PUBLIC xsimd) | ||
#target_link_libraries(benchmarks PUBLIC LAPACK::LAPACK PUBLIC BLAS::BLAS) | ||
|
||
target_include_directories(similarity_benchmarks PUBLIC ../../include) | ||
target_include_directories(similarity_benchmarks PUBLIC ../libs/benchmark/include) | ||
target_include_directories(similarity_benchmarks PUBLIC ../libs/xsimd/include) | ||
target_include_directories(similarity_benchmarks PUBLIC ../libs/eigen) | ||
target_include_directories(similarity_benchmarks PUBLIC ../libs/blaze) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#include "benchmarks/mat_mul.hpp" | ||
|
||
BENCHMARK_MAIN(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#include "benchmarks/mat_inv.hpp" | ||
|
||
BENCHMARK_MAIN(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#include "benchmarks/mat_sim.hpp" | ||
|
||
BENCHMARK_MAIN(); |