Skip to content

Commit d408ece

Browse files
committed
Add environment variable to display coretype for dynamic arch.
1 parent ac6b4b7 commit d408ece

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

driver/others/dynamic_power.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,9 @@ void gotoblas_dynamic_init(void) {
339339
if (gotoblas && gotoblas -> init) {
340340
strncpy(coren,gotoblas_corename(),20);
341341
sprintf(coremsg, "Core: %s\n",coren);
342+
if (getenv("GET_OPENBLAS_CORETYPE")) {
343+
fprintf(stderr, "%s", coremsg);
344+
}
342345
openblas_warning(2, coremsg);
343346
gotoblas -> init();
344347
} else {

0 commit comments

Comments
 (0)