Browse Source

Add environment variable to display coretype for dynamic arch.

tags/v0.3.27
Chip Kerchner 1 year ago
parent
commit
d408ecedba
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      driver/others/dynamic_power.c

+ 3
- 0
driver/others/dynamic_power.c View File

@@ -339,6 +339,9 @@ void gotoblas_dynamic_init(void) {
if (gotoblas && gotoblas -> init) {
strncpy(coren,gotoblas_corename(),20);
sprintf(coremsg, "Core: %s\n",coren);
if (getenv("GET_OPENBLAS_CORETYPE")) {
fprintf(stderr, "%s", coremsg);
}
openblas_warning(2, coremsg);
gotoblas -> init();
} else {


Loading…
Cancel
Save