aboutsummaryrefslogtreecommitdiff
path: root/src/fastopenblas.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fastopenblas.h')
-rw-r--r--src/fastopenblas.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/fastopenblas.h b/src/fastopenblas.h
new file mode 100644
index 0000000..824b686
--- /dev/null
+++ b/src/fastopenblas.h
@@ -0,0 +1,24 @@
+#ifndef __FASTOPENBLAS_H__
+#define __FASTOPENBLAS_H__
+
+#include <assert.h>
+#include <iostream>
+#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,
+ double *C,
+ OPENBLAS_CONST blasint ldc);
+
+#endif