projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3612d9a
)
Require gcc 11 for builtin_cpu_is(power10)
author
Martin Kroeker
<martin@ruby.chemie.uni-freiburg.de>
Wed, 20 Jan 2021 14:41:04 +0000
(15:41 +0100)
committer
GitHub
<noreply@github.com>
Wed, 20 Jan 2021 14:41:04 +0000
(15:41 +0100)
fixes #3074
driver/others/dynamic_power.c
patch
|
blob
|
history
diff --git
a/driver/others/dynamic_power.c
b/driver/others/dynamic_power.c
index f9feeb6e886fb3ff2c6b5bba6fb913075dad4124..18f16f835e33886ac90dcc5d9850d4d14d90e690 100644
(file)
--- a/
driver/others/dynamic_power.c
+++ b/
driver/others/dynamic_power.c
@@
-202,7
+202,7
@@
static gotoblas_t *get_coretype(void) {
return &gotoblas_POWER10;
#endif
/* Fall back to the POWER9 implementation if the toolchain is too old or the MMA feature is not set */
-#if (!defined __GNUC__) || ( __GNUC__ >=
6
)
+#if (!defined __GNUC__) || ( __GNUC__ >=
11
)
if (__builtin_cpu_is("power10"))
return &gotoblas_POWER9;
#endif