34 lines
948 B
Diff
34 lines
948 B
Diff
|
From: Martin Kroeker <martin@ruby.chemie.uni-freiburg.de>
|
||
|
Date: Wed Mar 23 15:22:13 2022 +0100
|
||
|
Subject: Revert AVX512 capability check from PR #1980 (moved to build)
|
||
|
Patch-mainline: Not yet
|
||
|
Git-repo: https://github.com/xianyi/OpenBLAS
|
||
|
Git-commit: 93a81856ae6a34c4329054744237d46ed347ccec
|
||
|
References:
|
||
|
|
||
|
|
||
|
Signed-off-by: Egbert Eich <eich@suse.de>
|
||
|
---
|
||
|
getarch.c | 8 --------
|
||
|
1 file changed, 8 deletions(-)
|
||
|
|
||
|
diff --git a/getarch.c b/getarch.c
|
||
|
index 00e544bc..e49eac1a 100644
|
||
|
--- a/getarch.c
|
||
|
+++ b/getarch.c
|
||
|
@@ -94,14 +94,6 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||
|
#include <sys/sysinfo.h>
|
||
|
#endif
|
||
|
|
||
|
-#if defined(__x86_64__) || defined(_M_X64)
|
||
|
-#if (( defined(__GNUC__) && __GNUC__ > 6 && defined(__AVX2__)) || (defined(__clang__) && __clang_major__ >= 6))
|
||
|
-#else
|
||
|
-#ifndef NO_AVX512
|
||
|
-#define NO_AVX512
|
||
|
-#endif
|
||
|
-#endif
|
||
|
-#endif
|
||
|
/* #define FORCE_P2 */
|
||
|
/* #define FORCE_KATMAI */
|
||
|
/* #define FORCE_COPPERMINE */
|