Created
February 19, 2016 04:39
-
-
Save anonymous/0fc9497a75411fcc0ec5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/config/dunnington/bli_config.h b/config/dunnington/bli_config.h | |
index 64392de..9480ebd 100644 | |
--- a/config/dunnington/bli_config.h | |
+++ b/config/dunnington/bli_config.h | |
@@ -38,5 +38,6 @@ | |
#define BLIS_SIMD_ALIGN_SIZE 16 | |
+#define BLIS_ENABLE_PTHREADS | |
#endif | |
diff --git a/config/dunnington/make_defs.mk b/config/dunnington/make_defs.mk | |
index cc70bd8..5a36bd7 100644 | |
--- a/config/dunnington/make_defs.mk | |
+++ b/config/dunnington/make_defs.mk | |
@@ -102,7 +102,7 @@ ARFLAGS := cru | |
# --- Determine the linker and related flags --- | |
LINKER := $(CC) | |
SOFLAGS := -shared | |
-LDFLAGS := -lm | |
+LDFLAGS := -lm -pthread | |
diff --git a/config/haswell/bli_config.h b/config/haswell/bli_config.h | |
index 5f66f6d..81dd41d 100644 | |
--- a/config/haswell/bli_config.h | |
+++ b/config/haswell/bli_config.h | |
@@ -36,10 +36,10 @@ | |
#define BLIS_CONFIG_H | |
// Enable multithreading via POSIX threads. | |
-//#define BLIS_ENABLE_PTHREADS | |
+#define BLIS_ENABLE_PTHREADS | |
// Enable multithreading via OpenMP. | |
-#define BLIS_ENABLE_OPENMP | |
+//#define BLIS_ENABLE_OPENMP | |
diff --git a/config/reference/bli_config.h b/config/reference/bli_config.h | |
index 5195e61..460403a 100644 | |
--- a/config/reference/bli_config.h | |
+++ b/config/reference/bli_config.h | |
@@ -36,6 +36,7 @@ | |
#define BLIS_CONFIG_H | |
+#define BLIS_ENABLE_PTHREADS | |
#endif | |
diff --git a/config/reference/make_defs.mk b/config/reference/make_defs.mk | |
index cf61534..0488530 100644 | |
--- a/config/reference/make_defs.mk | |
+++ b/config/reference/make_defs.mk | |
@@ -102,7 +102,7 @@ ARFLAGS := cru | |
# --- Determine the linker and related flags --- | |
LINKER := $(CC) | |
SOFLAGS := -shared | |
-LDFLAGS := -lm | |
+LDFLAGS := -lm -pthread | |
diff --git a/config/sandybridge/bli_config.h b/config/sandybridge/bli_config.h | |
index 5f66f6d..81dd41d 100644 | |
--- a/config/sandybridge/bli_config.h | |
+++ b/config/sandybridge/bli_config.h | |
@@ -36,10 +36,10 @@ | |
#define BLIS_CONFIG_H | |
// Enable multithreading via POSIX threads. | |
-//#define BLIS_ENABLE_PTHREADS | |
+#define BLIS_ENABLE_PTHREADS | |
// Enable multithreading via OpenMP. | |
-#define BLIS_ENABLE_OPENMP | |
+//#define BLIS_ENABLE_OPENMP | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment