File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -656,7 +656,7 @@ static gotoblas_t *get_coretype(void){
656
656
if ((exfamily == 0 ) || (exfamily == 2 )) {
657
657
if (ecx & (1 << 0 )) return & gotoblas_OPTERON_SSE3 ;
658
658
else return & gotoblas_OPTERON ;
659
- } else if (exfamily == 5 ) {
659
+ } else if (exfamily == 5 || exfamily == 7 ) {
660
660
return & gotoblas_BOBCAT ;
661
661
} else if (exfamily == 6 ) {
662
662
if (model == 1 ){
@@ -710,24 +710,32 @@ static gotoblas_t *get_coretype(void){
710
710
}
711
711
}
712
712
} else if (exfamily == 8 ) {
713
- if (model == 1 || model == 8 ) {
713
+ /* if (model == 1 || model == 8) */ {
714
714
if (support_avx ())
715
715
return & gotoblas_ZEN ;
716
716
else {
717
717
openblas_warning (FALLBACK_VERBOSE , BARCELONA_FALLBACK );
718
718
return & gotoblas_BARCELONA ; //OS doesn't support AVX. Use old kernels.
719
719
}
720
720
}
721
- } else if (exfamily == 9 ) {
721
+ } else if (exfamily == 9 ) {
722
722
if (support_avx ())
723
723
return & gotoblas_ZEN ;
724
724
else {
725
725
openblas_warning (FALLBACK_VERBOSE , BARCELONA_FALLBACK );
726
726
return & gotoblas_BARCELONA ; //OS doesn't support AVX. Use old kernels.
727
- }
727
+ }
728
+ } else if (exfamily == 10 ) {
729
+ if (support_avx ())
730
+ return & gotoblas_ZEN ;
731
+ else {
732
+ openblas_warning (FALLBACK_VERBOSE , BARCELONA_FALLBACK );
733
+ return & gotoblas_BARCELONA ; //OS doesn't support AVX. Use old kernels.
734
+ }
728
735
}else {
729
736
return & gotoblas_BARCELONA ;
730
737
}
738
+
731
739
}
732
740
}
733
741
You can’t perform that action at this time.
0 commit comments