mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Replace blas/f2c with clean C++ implementations
libeigen/eigen!2402 Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
This commit is contained in:
17
benchmarks/BLAS/CMakeLists.txt
Normal file
17
benchmarks/BLAS/CMakeLists.txt
Normal file
@@ -0,0 +1,17 @@
|
||||
# Benchmarks for Eigen's built-in BLAS implementation.
|
||||
# Compiles the Eigen BLAS sources directly into the benchmark executable
|
||||
# so there is no external BLAS dependency.
|
||||
|
||||
set(EIGEN_BLAS_SRCS
|
||||
${EIGEN_SOURCE_DIR}/blas/single.cpp
|
||||
${EIGEN_SOURCE_DIR}/blas/double.cpp
|
||||
${EIGEN_SOURCE_DIR}/blas/complex_single.cpp
|
||||
${EIGEN_SOURCE_DIR}/blas/complex_double.cpp
|
||||
${EIGEN_SOURCE_DIR}/blas/xerbla.cpp
|
||||
${EIGEN_SOURCE_DIR}/blas/lsame.cpp
|
||||
${EIGEN_SOURCE_DIR}/blas/complexdots.cpp
|
||||
)
|
||||
|
||||
eigen_add_benchmark(bench_blas bench_blas.cpp)
|
||||
target_sources(bench_blas PRIVATE ${EIGEN_BLAS_SRCS})
|
||||
target_include_directories(bench_blas PRIVATE ${EIGEN_SOURCE_DIR}/blas)
|
||||
Reference in New Issue
Block a user