aboutsummaryrefslogtreecommitdiff
path: root/src/fastopenblas.h
diff options
context:
space:
mode:
authorPjotr Prins2017-10-14 06:00:55 +0000
committerPjotr Prins2017-10-14 06:00:55 +0000
commit0fe6d1332bf21a6be2c1beeb9fada6eb1a1ff244 (patch)
treea7699cf08b0547ea01ac1be82b15c55b1abecf69 /src/fastopenblas.h
parentfdb48997ee3ed2b326a92f8e0cc7f72a4b38d8c8 (diff)
downloadpangemma-0fe6d1332bf21a6be2c1beeb9fada6eb1a1ff244.tar.gz
More disabling of eigenlib (faster compilation) and avoid OPENBLAS_CONST which does not work on older cblas.h
Diffstat (limited to 'src/fastopenblas.h')
-rw-r--r--src/fastopenblas.h28
1 files changed, 15 insertions, 13 deletions
diff --git a/src/fastopenblas.h b/src/fastopenblas.h
index 824b686..a0904c3 100644
--- a/src/fastopenblas.h
+++ b/src/fastopenblas.h
@@ -6,19 +6,21 @@
#include <cblas.h> // For OpenBlas
#include "gsl/gsl_matrix.h"
-void fast_cblas_dgemm(OPENBLAS_CONST enum CBLAS_ORDER Order,
- OPENBLAS_CONST enum CBLAS_TRANSPOSE TransA,
- OPENBLAS_CONST enum CBLAS_TRANSPOSE TransB,
- OPENBLAS_CONST blasint M,
- OPENBLAS_CONST blasint N,
- OPENBLAS_CONST blasint K,
- OPENBLAS_CONST double alpha,
- OPENBLAS_CONST double *A,
- OPENBLAS_CONST blasint lda,
- OPENBLAS_CONST double *B,
- OPENBLAS_CONST blasint ldb,
- OPENBLAS_CONST double beta,
+#ifndef
+
+void fast_cblas_dgemm(const enum CBLAS_ORDER Order,
+ const enum CBLAS_TRANSPOSE TransA,
+ const enum CBLAS_TRANSPOSE TransB,
+ const blasint M,
+ const blasint N,
+ const blasint K,
+ const double alpha,
+ const double *A,
+ const blasint lda,
+ const double *B,
+ const blasint ldb,
+ const double beta,
double *C,
- OPENBLAS_CONST blasint ldc);
+ const blasint ldc);
#endif