Skip to content

Commit e4e5042

Browse files
authored
Recognize Intel Tiger Lake as SkylakeX
1 parent ae53e3e commit e4e5042

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

driver/others/dynamic.c

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -644,6 +644,21 @@ static gotoblas_t *get_coretype(void){
644644
return NULL;
645645
case 9:
646646
case 8:
647+
if (model == 12) { // Tiger Lake
648+
if (support_avx512())
649+
return &gotoblas_SKYLAKEX;
650+
if(support_avx2()){
651+
openblas_warning(FALLBACK_VERBOSE, HASWELL_FALLBACK);
652+
return &gotoblas_HASWELL;
653+
}
654+
if(support_avx()) {
655+
openblas_warning(FALLBACK_VERBOSE, SANDYBRIDGE_FALLBACK);
656+
return &gotoblas_SANDYBRIDGE;
657+
} else {
658+
openblas_warning(FALLBACK_VERBOSE, NEHALEM_FALLBACK);
659+
return &gotoblas_NEHALEM;
660+
}
661+
}
647662
if (model == 14 ) { // Kaby Lake, Coffee Lake
648663
if(support_avx2())
649664
return &gotoblas_HASWELL;

0 commit comments

Comments
 (0)