Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6715 from cms-sw/avx512-build
Added AVX512 build support
- Loading branch information
Showing
6 changed files
with
51 additions
and
7 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/Makefile b/Makefile | ||
index a22e16b..2103691 100644 | ||
--- a/Makefile | ||
+++ b/Makefile | ||
@@ -39,7 +39,7 @@ SUBDIRS_ALL = $(SUBDIRS) test ctest utest exports benchmark ../laswp ../bench cp | ||
.PHONY : all libs netlib $(RELA) test ctest shared install | ||
.NOTPARALLEL : all libs $(RELA) prof lapack-test install blas-test | ||
|
||
-all :: libs netlib $(RELA) tests shared | ||
+all :: libs netlib $(RELA) shared | ||
@echo | ||
@echo " OpenBLAS build complete. ($(LIB_COMPONENTS))" | ||
@echo |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
diff --git a/Makefile.x86_64 b/Makefile.x86_64 | ||
index f2de51e..e1c348a 100644 | ||
--- a/Makefile.x86_64 | ||
+++ b/Makefile.x86_64 | ||
@@ -9,7 +9,7 @@ endif | ||
endif | ||
|
||
ifeq ($(CORE), SKYLAKEX) | ||
-ifndef DYNAMIC_ARCH | ||
+ifneq ($(DYNAMIC_ARCH), 1) | ||
ifndef NO_AVX512 | ||
CCOMMON_OPT += -march=skylake-avx512 | ||
FCOMMON_OPT += -march=skylake-avx512 | ||
@@ -28,7 +28,7 @@ endif | ||
endif | ||
|
||
ifeq ($(CORE), HASWELL) | ||
-ifndef DYNAMIC_ARCH | ||
+ifneq ($(DYNAMIC_ARCH), 1) | ||
ifndef NO_AVX2 | ||
ifeq ($(C_COMPILER), GCC) | ||
CCOMMON_OPT += -mavx2 |
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
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
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
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