We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a96a04e + d408ece commit 974f29cCopy full SHA for 974f29c
driver/others/dynamic_power.c
@@ -69,7 +69,7 @@ static int cpuid(void)
69
else if (arch == POWER_9) return CPU_POWER9;
70
#endif
71
#ifdef POWER_10
72
- else if (arch == POWER_10) return CPU_POWER10;
+ else if (arch >= POWER_10) return CPU_POWER10;
73
74
return CPU_UNKNOWN;
75
}
@@ -339,6 +339,9 @@ void gotoblas_dynamic_init(void) {
339
if (gotoblas && gotoblas -> init) {
340
strncpy(coren,gotoblas_corename(),20);
341
sprintf(coremsg, "Core: %s\n",coren);
342
+ if (getenv("GET_OPENBLAS_CORETYPE")) {
343
+ fprintf(stderr, "%s", coremsg);
344
+ }
345
openblas_warning(2, coremsg);
346
gotoblas -> init();
347
} else {
0 commit comments