diff options
author | Pjotr Prins | 2017-10-14 06:25:04 +0000 |
---|---|---|
committer | Pjotr Prins | 2017-10-14 06:25:04 +0000 |
commit | 0baac7f79ee8caf82a3c9d51a3dd0794663a7d24 (patch) | |
tree | 7668d8c890940d38c94667797671707b529d38c9 /src/fastblas.cpp | |
parent | 44a7f266448216d794fdc7de33d4084b2d0cfd2b (diff) | |
download | pangemma-0baac7f79ee8caf82a3c9d51a3dd0794663a7d24.tar.gz |
Travis fixes
Diffstat (limited to 'src/fastblas.cpp')
-rw-r--r-- | src/fastblas.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fastblas.cpp b/src/fastblas.cpp index 94640a5..6180683 100644 --- a/src/fastblas.cpp +++ b/src/fastblas.cpp @@ -17,6 +17,7 @@ */ #include "gsl/gsl_matrix.h" +#include <algorithm> // std::min #include <cmath> #include <iomanip> #include <vector> @@ -79,6 +80,7 @@ void fast_cblas_dgemm(const enum CBLAS_ORDER Order, #ifndef NDEBUG size_t i,j; if (is_debug_mode()) { + #ifdef DISABLED printf (" Top left corner of matrix A: \n"); for (i=0; i<min(M,6); i++) { for (j=0; j<min(K,6); j++) { @@ -102,6 +104,7 @@ void fast_cblas_dgemm(const enum CBLAS_ORDER Order, } printf ("\n"); } + #endif cout << scientific << setprecision(3) << "* RowMajor " << Order << "\t" ; cout << "transA " << TransA << "\t" ; @@ -126,6 +129,7 @@ void fast_cblas_dgemm(const enum CBLAS_ORDER Order, cblas_dgemm(Order,TransA,TransB,M,N,K,alpha,A,lda,B,ldb,beta,C,ldc); #ifndef NDEBUG + #ifdef DISABLED if (is_debug_mode()) { printf (" Top left corner of matrix A (cols=k %i, rows=m %i): \n",K,M); for (i=0; i<min(M,6); i++) { @@ -151,6 +155,7 @@ void fast_cblas_dgemm(const enum CBLAS_ORDER Order, printf ("\n"); } } + #endif #endif // NDEBUG } |