Ref #632. Support Intel Skylake by Haswell kernels.

This commit is contained in:
Yichao Yu
2015-09-09 11:00:23 -04:00
parent 22353b1727
commit 61ae47eb99
2 changed files with 29 additions and 0 deletions
+9
View File
@@ -263,6 +263,15 @@ static gotoblas_t *get_coretype(void){
return &gotoblas_NEHALEM; //OS doesn't support AVX. Use old kernels.
}
}
//Intel Skylake
if (model == 14) {
if(support_avx())
return &gotoblas_HASWELL;
else{
openblas_warning(FALLBACK_VERBOSE, NEHALEM_FALLBACK);
return &gotoblas_NEHALEM; //OS doesn't support AVX. Use old kernels.
}
}
return NULL;
}
case 0xf: