Browse Source

Merge pull request #1148 from gcp/fix-dynamic-zen

Fix dynamic detection for ZEN CPUs.
tags/v0.2.20^2
Martin Kroeker GitHub 8 years ago
parent
commit
ab9ec4ab4e
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      driver/others/dynamic.c

+ 2
- 2
driver/others/dynamic.c View File

@@ -392,7 +392,7 @@ static gotoblas_t *get_coretype(void){

}
}
} else if (family == 8) {
} else if (exfamily == 8) {
if (model == 1) {
if(support_avx())
return &gotoblas_ZEN;
@@ -481,7 +481,7 @@ static gotoblas_t *force_coretype(char *coretype){
char message[128];
//char mname[20];

for ( i=1 ; i <= 22; i++)
for ( i=1 ; i <= 23; i++)
{
if (!strncasecmp(coretype,corename[i],20))
{


Loading…
Cancel
Save