forked from easybuilders/easybuild-easyconfigs
-
Notifications
You must be signed in to change notification settings - Fork 0
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 easybuilders#19159 from Flamefire/20231106133537_n…
…ew_pr_OpenBLAS0320 fix OpenBLAS on newer Intel CPUs
- Loading branch information
Showing
7 changed files
with
88 additions
and
5 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
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
65 changes: 65 additions & 0 deletions
65
...ild/easyconfigs/o/OpenBLAS/OpenBLAS-0.3.20_use-xASUM-microkernels-on-new-intel-cpus.patch
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,65 @@ | ||
From 9019bc494514a74c2042152cdca0a36adea7b42f Mon Sep 17 00:00:00 2001 | ||
From: Martin Kroeker <martin@ruby.chemie.uni-freiburg.de> | ||
Date: Sat, 4 Nov 2023 22:10:06 +0100 | ||
Subject: [PATCH] Use SkylakeX ?ASUM microkernel for Cooperlake/Sapphirerapids | ||
as well | ||
|
||
--- | ||
kernel/x86_64/casum.c | 2 +- | ||
kernel/x86_64/dasum.c | 2 +- | ||
kernel/x86_64/sasum.c | 2 +- | ||
kernel/x86_64/zasum.c | 2 +- | ||
4 files changed, 4 insertions(+), 4 deletions(-) | ||
|
||
diff --git a/kernel/x86_64/casum.c b/kernel/x86_64/casum.c | ||
index 60feec0ceb..e4d0543114 100644 | ||
--- a/kernel/x86_64/casum.c | ||
+++ b/kernel/x86_64/casum.c | ||
@@ -4,7 +4,7 @@ | ||
#define ABS_K(a) ((a) > 0 ? (a) : (-(a))) | ||
#endif | ||
|
||
-#if defined(SKYLAKEX) | ||
+#if defined(SKYLAKEX) || defined(COOPERLAKE) || defined(SAPPHIRERAPIDS) | ||
#include "casum_microk_skylakex-2.c" | ||
#endif | ||
|
||
diff --git a/kernel/x86_64/dasum.c b/kernel/x86_64/dasum.c | ||
index a9c40f38f0..0147c6978a 100644 | ||
--- a/kernel/x86_64/dasum.c | ||
+++ b/kernel/x86_64/dasum.c | ||
@@ -4,7 +4,7 @@ | ||
#define ABS_K(a) ((a) > 0 ? (a) : (-(a))) | ||
#endif | ||
|
||
-#if defined(SKYLAKEX) | ||
+#if defined(SKYLAKEX) || defined(COOPERLAKE) || defined(SAPPHIRERAPIDS) | ||
#include "dasum_microk_skylakex-2.c" | ||
#elif defined(HASWELL) || defined(ZEN) | ||
#include "dasum_microk_haswell-2.c" | ||
diff --git a/kernel/x86_64/sasum.c b/kernel/x86_64/sasum.c | ||
index 37a92468ff..3f22cb97a1 100644 | ||
--- a/kernel/x86_64/sasum.c | ||
+++ b/kernel/x86_64/sasum.c | ||
@@ -9,7 +9,7 @@ | ||
|
||
#endif | ||
|
||
-#if defined(SKYLAKEX) | ||
+#if defined(SKYLAKEX) || defined(COOPERLAKE) || defined(SAPPHIRERAPIDS) | ||
#include "sasum_microk_skylakex-2.c" | ||
#elif defined(HASWELL) || defined(ZEN) | ||
#include "sasum_microk_haswell-2.c" | ||
diff --git a/kernel/x86_64/zasum.c b/kernel/x86_64/zasum.c | ||
index 80e95a2c89..3f17ab1cfa 100644 | ||
--- a/kernel/x86_64/zasum.c | ||
+++ b/kernel/x86_64/zasum.c | ||
@@ -4,7 +4,7 @@ | ||
#define ABS_K(a) ((a) > 0 ? (a) : (-(a))) | ||
#endif | ||
|
||
-#if defined(SKYLAKEX) | ||
+#if defined(SKYLAKEX) || defined(COOPERLAKE) || defined(SAPPHIRERAPIDS) | ||
#include "zasum_microk_skylakex-2.c" | ||
#endif | ||
|
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