aboutsummaryrefslogtreecommitdiff
path: root/src/fastopenblas.h
diff options
context:
space:
mode:
authorPjotr Prins2017-10-14 06:16:54 +0000
committerPjotr Prins2017-10-14 06:16:54 +0000
commit0e2f1e6214079f68a6e46dadd22d806f89d058ff (patch)
tree92b8a8547cf28daf26af84dfdde869d99e632669 /src/fastopenblas.h
parenta2e871270538bb187865c9f00d8aa8f4e817e131 (diff)
downloadpangemma-0e2f1e6214079f68a6e46dadd22d806f89d058ff.tar.gz
Older openblas does not like blasint
Diffstat (limited to 'src/fastopenblas.h')
-rw-r--r--src/fastopenblas.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/fastopenblas.h b/src/fastopenblas.h
index 86054a0..826fe6e 100644
--- a/src/fastopenblas.h
+++ b/src/fastopenblas.h
@@ -6,19 +6,17 @@
#include <cblas.h> // For OpenBlas
#include "gsl/gsl_matrix.h"
-typedef long blasint;
-
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 size_t M,
+ const size_t N,
+ const size_t K,
const double alpha,
const double *A,
- const blasint lda,
+ const size_t lda,
const double *B,
- const blasint ldb,
+ const size_t ldb,
const double beta,
double *C,
- const blasint ldc);
+ const size_t ldc);