diff options
author | Pjotr Prins | 2017-12-19 07:17:38 +0000 |
---|---|---|
committer | Pjotr Prins | 2017-12-19 07:17:38 +0000 |
commit | 89690967e33bcde4fd8736fe048d0e9dce5c6266 (patch) | |
tree | e834edea2baacdb5b1bf8abf2868efd4de340192 /src/fastblas.cpp | |
parent | 10b695f76960b5faade1f7ec286fc4ba46a779a1 (diff) | |
download | pangemma-89690967e33bcde4fd8736fe048d0e9dce5c6266.tar.gz |
Make eigelib -legacy
Diffstat (limited to 'src/fastblas.cpp')
-rw-r--r-- | src/fastblas.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fastblas.cpp b/src/fastblas.cpp index 81705a6..362027c 100644 --- a/src/fastblas.cpp +++ b/src/fastblas.cpp @@ -232,5 +232,8 @@ void fast_dgemm(const char *TransA, const char *TransB, const double alpha, void fast_eigen_dgemm(const char *TransA, const char *TransB, const double alpha, const gsl_matrix *A, const gsl_matrix *B, const double beta, gsl_matrix *C) { - eigenlib_dgemm(TransA,TransB,alpha,A,B,beta,C); + if (is_legacy_mode()) + eigenlib_dgemm(TransA,TransB,alpha,A,B,beta,C); + else + fast_cblas_dgemm(TransA,TransB,alpha,A,B,beta,C); } |