xtensor-benchmark
xtensor-benchmark copied to clipboard
Easy to use benchmarks for linear algebra frameworks
fixes some errors in `cmake`, add dependencies. For #13
CMake Error at CMakeLists.txt:73 (find_package): By not providing "Findbenchmark.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "benchmark", but CMake did not find...
Seems like benchmark code was not updated since xtensor 0.15.4 (this is first version with which build sucseeded): https://gist.github.com/floatdrop/37437071975bee51e02dfb9fca73608a
This PR further extends the benchmark with more tested scenarios. It also adds support for the Vigra library (`vigra::MultiArray` and `vigra::MultiArrayView`).
I got compiler errors with slice_vector. I made this change, so the benchmark ran: diff --git a/src/benchmark_views.hpp b/src/benchmark_views.hpp index a362ec7..681a675 100644 --- a/src/benchmark_views.hpp +++ b/src/benchmark_views.hpp @@ -14,6 +14,7 @@ #include...
Currently, we only benchmark one expression. In the old PR of @DerThorsten templates are used for easy benchmarking of expressions with multiple frameworks. This should be adapted here.