diff --git a/cpuid_x86.c b/cpuid_x86.c index 201aa8145..ab2ecdcaf 100644 --- a/cpuid_x86.c +++ b/cpuid_x86.c @@ -1304,6 +1304,7 @@ int get_cpuname(void){ else return CPUTYPE_BARCELONA; //OS don't support AVX. case 0: + case 8: switch(exmodel){ case 1: //AMD Trinity if(support_avx()) @@ -1839,6 +1840,7 @@ int get_coretype(void){ else return CORE_BARCELONA; //OS don't support AVX. case 0: + case 8: switch(exmodel){ case 1: //AMD Trinity if(support_avx()) diff --git a/driver/others/dynamic.c b/driver/others/dynamic.c index 90410f70c..e1e159de3 100644 --- a/driver/others/dynamic.c +++ b/driver/others/dynamic.c @@ -365,7 +365,7 @@ static gotoblas_t *get_coretype(void){ openblas_warning(FALLBACK_VERBOSE, BARCELONA_FALLBACK); return &gotoblas_BARCELONA; //OS doesn't support AVX. Use old kernels. } - }else if(model == 0){ + }else if(model == 0 || model == 8){ if (exmodel == 1) { //AMD Trinity if(support_avx())