We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7367af6 + feca8f9 commit 2347cddCopy full SHA for 2347cdd
2 files changed
cpuid_x86.c
@@ -1843,9 +1843,11 @@ int get_cpuname(void)
1843
if (support_avx2()) return CPUTYPE_ZEN;
1844
else return CPUTYPE_DUNNINGTON;
1845
default:
1846
+ if (support_avx2()) return CPUTYPE_ZEN;
1847
return CPUTYPE_NEHALEM;
1848
}
1849
1850
1851
1852
1853
driver/others/dynamic.c
@@ -951,9 +951,15 @@ static gotoblas_t *get_coretype(void){
951
else
952
return &gotoblas_DUNNINGTON;
953
954
+ if (support_avx2())
955
+ return &gotoblas_ZEN;
956
+ else
957
return &gotoblas_NEHALEM;
958
959
960
961
962
963
964
965
0 commit comments