Fix typos

This commit is contained in:
Martin Kroeker 2019-12-03 08:18:14 +01:00 committed by GitHub
parent ba3eba1804
commit 26799ccbf7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -90,7 +90,7 @@ char *gotoblas_corename(void) {
if (gotoblas == &gotoblas_FALKOR) return corename[ 5]; if (gotoblas == &gotoblas_FALKOR) return corename[ 5];
if (gotoblas == &gotoblas_THUNDERX) return corename[ 6]; if (gotoblas == &gotoblas_THUNDERX) return corename[ 6];
if (gotoblas == &gotoblas_THUNDERX2T99) return corename[ 7]; if (gotoblas == &gotoblas_THUNDERX2T99) return corename[ 7];
if (gotoblas == &gotoblas_tsv110) return corename[ 8]; if (gotoblas == &gotoblas_TSV110) return corename[ 8];
return corename[NUM_CORETYPES]; return corename[NUM_CORETYPES];
} }
@ -120,7 +120,6 @@ static gotoblas_t *force_coretype(char *coretype) {
case 7: return (&gotoblas_THUNDERX2T99); case 7: return (&gotoblas_THUNDERX2T99);
case 8: return (&gotoblas_TSV110); case 8: return (&gotoblas_TSV110);
} }
}
snprintf(message, 128, "Core not found: %s\n", coretype); snprintf(message, 128, "Core not found: %s\n", coretype);
openblas_warning(1, message); openblas_warning(1, message);
return NULL; return NULL;