# SPDX-FileCopyrightText: The Eigen Authors
# SPDX-License-Identifier: MPL-2.0

eigen_add_benchmark(bench_eigensolver bench_eigensolver.cpp)
eigen_add_benchmark(bench_geev bench_geev.cpp)
eigen_add_benchmark(bench_geev_float bench_geev.cpp DEFINITIONS SCALAR=float)
eigen_add_benchmark(bench_schur_workspace bench_schur_workspace.cpp)
eigen_add_benchmark(bench_schur_workspace_float bench_schur_workspace.cpp DEFINITIONS SCALAR=float)
eigen_add_benchmark(bench_eigensolver_double bench_eigensolver.cpp DEFINITIONS SCALAR=double)
eigen_add_benchmark(bench_direct_selfadjoint_2f bench_direct_selfadjoint.cpp DEFINITIONS MATRIX_SIZE=2 SCALAR=float)
eigen_add_benchmark(bench_direct_selfadjoint_2d bench_direct_selfadjoint.cpp DEFINITIONS MATRIX_SIZE=2 SCALAR=double)
eigen_add_benchmark(bench_direct_selfadjoint_3f bench_direct_selfadjoint.cpp DEFINITIONS MATRIX_SIZE=3 SCALAR=float)
eigen_add_benchmark(bench_direct_selfadjoint_3d bench_direct_selfadjoint.cpp DEFINITIONS MATRIX_SIZE=3 SCALAR=double)
eigen_add_benchmark(bench_eigensolver_stride bench_eigensolver_stride.cpp)
eigen_add_benchmark(bench_schur_norm bench_schur_norm.cpp)
eigen_add_benchmark(bench_tridiagonal_bisection bench_tridiagonal_bisection.cpp)
eigen_add_benchmark(bench_tridiagonal_inverse_iteration bench_tridiagonal_inverse_iteration.cpp)
eigen_add_benchmark(bench_inplace_reductions bench_inplace_decomposition.cpp DEFINITIONS BENCH_REDUCTIONS)
eigen_add_benchmark(bench_inplace_schur bench_inplace_decomposition.cpp DEFINITIONS BENCH_SCHUR)
eigen_add_benchmark(bench_inplace_selfadjoint bench_inplace_decomposition.cpp DEFINITIONS BENCH_SELFADJOINT)
eigen_add_benchmark(bench_inplace_eigensolver bench_inplace_decomposition.cpp DEFINITIONS BENCH_EIGENSOLVER)
eigen_add_benchmark(bench_inplace_qz bench_inplace_decomposition.cpp DEFINITIONS BENCH_QZ)
eigen_add_benchmark(bench_inplace_bunchkaufman bench_inplace_decomposition.cpp DEFINITIONS BENCH_BUNCHKAUFMAN)
eigen_add_benchmark(bench_tridiagonal_scaling bench_tridiagonal_scaling.cpp)
eigen_add_benchmark(bench_qz bench_qz.cpp)
