Recognize Intel Tiger Lake as SkylakeX
This commit is contained in:
parent
ae53e3e233
commit
e4e5042e38
|
@ -644,6 +644,21 @@ static gotoblas_t *get_coretype(void){
|
||||||
return NULL;
|
return NULL;
|
||||||
case 9:
|
case 9:
|
||||||
case 8:
|
case 8:
|
||||||
|
if (model == 12) { // Tiger Lake
|
||||||
|
if (support_avx512())
|
||||||
|
return &gotoblas_SKYLAKEX;
|
||||||
|
if(support_avx2()){
|
||||||
|
openblas_warning(FALLBACK_VERBOSE, HASWELL_FALLBACK);
|
||||||
|
return &gotoblas_HASWELL;
|
||||||
|
}
|
||||||
|
if(support_avx()) {
|
||||||
|
openblas_warning(FALLBACK_VERBOSE, SANDYBRIDGE_FALLBACK);
|
||||||
|
return &gotoblas_SANDYBRIDGE;
|
||||||
|
} else {
|
||||||
|
openblas_warning(FALLBACK_VERBOSE, NEHALEM_FALLBACK);
|
||||||
|
return &gotoblas_NEHALEM;
|
||||||
|
}
|
||||||
|
}
|
||||||
if (model == 14 ) { // Kaby Lake, Coffee Lake
|
if (model == 14 ) { // Kaby Lake, Coffee Lake
|
||||||
if(support_avx2())
|
if(support_avx2())
|
||||||
return &gotoblas_HASWELL;
|
return &gotoblas_HASWELL;
|
||||||
|
|
Loading…
Reference in New Issue