aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fastblas.cpp12
-rw-r--r--src/fastopenblas.h14
2 files changed, 12 insertions, 14 deletions
diff --git a/src/fastblas.cpp b/src/fastblas.cpp
index 3fe712c..94640a5 100644
--- a/src/fastblas.cpp
+++ b/src/fastblas.cpp
@@ -65,17 +65,17 @@ gsl_matrix *fast_copy(gsl_matrix *m, const double *mem) {
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) {
#ifndef NDEBUG
size_t i,j;
if (is_debug_mode()) {
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);