From 1fdd4ca1ae891ff9dd3736e6ed94bc01c3423dfd Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Fri, 28 Sep 2018 09:16:02 +0000 Subject: Atlas compilation --- src/eigenlib.cpp | 2 +- src/fastblas.cpp | 2 +- src/fastopenblas.h | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/eigenlib.cpp b/src/eigenlib.cpp index 4d6aacc..470aa08 100644 --- a/src/eigenlib.cpp +++ b/src/eigenlib.cpp @@ -23,7 +23,7 @@ #include #include #include -#include +// #include using namespace std; using namespace Eigen; diff --git a/src/fastblas.cpp b/src/fastblas.cpp index de63e08..b3fcddb 100644 --- a/src/fastblas.cpp +++ b/src/fastblas.cpp @@ -23,9 +23,9 @@ #include #include #include -#include #include "debug.h" #include "fastblas.h" +#include "fastopenblas.h" #include "mathfunc.h" #include #include "eigenlib.h" diff --git a/src/fastopenblas.h b/src/fastopenblas.h index 3dd8ef7..e98e62f 100644 --- a/src/fastopenblas.h +++ b/src/fastopenblas.h @@ -23,7 +23,10 @@ #include #include -#include // For OpenBlas +extern "C" +{ + #include // For OpenBlas / Atlas +} #include "gsl/gsl_matrix.h" void fast_cblas_dgemm(const enum CBLAS_ORDER Order, -- cgit v1.2.3