aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPjotr Prins2020-05-28 06:02:49 -0500
committerPjotr Prins2020-05-28 06:02:49 -0500
commitf2fb0a6c0d8e8a849d5e8acc975111e1ff6bb714 (patch)
tree0deea66ae2895347b6f9a925288fb6bab4ee93ba /src
parentf1cd914e6f20c9a162e16d7283477c1b98d005d1 (diff)
parent57b3a882c2b147a474374c77a8c023f6569b974f (diff)
downloadpangemma-f2fb0a6c0d8e8a849d5e8acc975111e1ff6bb714.tar.gz
Merge branch 'master' of github.com:genenetwork/GEMMA
Diffstat (limited to 'src')
-rw-r--r--src/fastblas.cpp5
-rw-r--r--src/fastblas.h2
-rw-r--r--src/fastopenblas.h9
-rw-r--r--src/gemma.cpp2
-rw-r--r--src/version.h6
5 files changed, 7 insertions, 17 deletions
diff --git a/src/fastblas.cpp b/src/fastblas.cpp
index 42c59ee..41ee741 100644
--- a/src/fastblas.cpp
+++ b/src/fastblas.cpp
@@ -18,18 +18,13 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-// #include "gsl/gsl_matrix.h"
#include <algorithm> // std::min
#include <cmath>
#include <iomanip>
#include <vector>
#include "debug.h"
-#include "fastblas.h"
-#include "fastopenblas.h"
#include "mathfunc.h"
#include <string.h>
-#include "eigenlib.h"
-#include <cblas.h>
const char *FastblasTrans = "T";
const char *FastblasNoTrans = "N";
diff --git a/src/fastblas.h b/src/fastblas.h
index cca3258..32253b3 100644
--- a/src/fastblas.h
+++ b/src/fastblas.h
@@ -23,7 +23,7 @@
#include <assert.h>
#include <iostream>
-#include "gsl/gsl_matrix.h"
+// #include "gsl/gsl_matrix.h"
gsl_matrix *fast_copy(gsl_matrix *m, const double *mem);
diff --git a/src/fastopenblas.h b/src/fastopenblas.h
index 7f453da..ace8347 100644
--- a/src/fastopenblas.h
+++ b/src/fastopenblas.h
@@ -21,13 +21,8 @@
#ifndef __FASTOPENBLAS_H__
#define __FASTOPENBLAS_H__
-#include <assert.h>
-#include <iostream>
-extern "C"
-{
- #include <cblas.h> // For OpenBlas / Atlas
-}
-// #include "gsl/gsl_matrix.h"
+// #include <assert.h>
+// #include <iostream>
void fast_cblas_dgemm(const enum CBLAS_ORDER ,
const enum CBLAS_TRANSPOSE TransA,
diff --git a/src/gemma.cpp b/src/gemma.cpp
index 6bc739b..7b955cd 100644
--- a/src/gemma.cpp
+++ b/src/gemma.cpp
@@ -28,7 +28,7 @@
#ifdef OPENBLAS
extern "C" {
// these functions are defined in cblas.h - but if we include that we
- // conflicts with other BLAS includes
+ // conflicts with other BLAS includes (GSL)
int openblas_get_num_threads(void);
int openblas_get_parallel(void);
char* openblas_get_config(void);
diff --git a/src/version.h b/src/version.h
index d413933..f97c9f1 100644
--- a/src/version.h
+++ b/src/version.h
@@ -1,5 +1,5 @@
-// version.h generated by GEMMA scripts/gen_version_info.sh
+// version.h generated by GEMMA ./scripts/gen_version_info.sh
#define GEMMA_VERSION "0.98.2"
-#define GEMMA_DATE "2020-05-22"
+#define GEMMA_DATE "2020-05-28"
#define GEMMA_YEAR "2020"
-#define GEMMA_PROFILE "/gnu/store/h9xwdvc7kqx7cvpvs6iascfdw5zgzhyd-profile"
+#define GEMMA_PROFILE ""