File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -656,7 +656,7 @@ static gotoblas_t *get_coretype(void){
656
656
}
657
657
}
658
658
case 10 :
659
- if (model == 5 || model == 6 ) {
659
+ if (model == 5 || model == 6 ) {
660
660
if (support_avx2 ())
661
661
return & gotoblas_HASWELL ;
662
662
if (support_avx ()) {
@@ -666,7 +666,20 @@ static gotoblas_t *get_coretype(void){
666
666
openblas_warning (FALLBACK_VERBOSE , NEHALEM_FALLBACK );
667
667
return & gotoblas_NEHALEM ; //OS doesn't support AVX. Use old kernels.
668
668
}
669
- }
669
+ }
670
+ if (model == 7 ) {
671
+ if (support_avx512 ())
672
+ return & gotoblas_SKYLAKEX ;
673
+ if (support_avx2 ())
674
+ return & gotoblas_HASWELL ;
675
+ if (support_avx ()) {
676
+ openblas_warning (FALLBACK_VERBOSE , SANDYBRIDGE_FALLBACK );
677
+ return & gotoblas_SANDYBRIDGE ;
678
+ } else {
679
+ openblas_warning (FALLBACK_VERBOSE , NEHALEM_FALLBACK );
680
+ return & gotoblas_NEHALEM ; //OS doesn't support AVX. Use old kernels.
681
+ }
682
+ }
670
683
return NULL ;
671
684
}
672
685
case 0xf :
You can’t perform that action at this time.
0 commit comments