Support AVX512-enabled Alder Lake

This commit is contained in:
Martin Kroeker 2022-02-07 00:00:56 +01:00 committed by GitHub
parent f7e8f9ec57
commit fa3e9f25e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -708,8 +708,11 @@ static gotoblas_t *get_coretype(void){
case 9:
if (model == 7 || model == 10) { // Alder Lake
if(support_avx512_bf16())
return &gotoblas_COOPERLAKE;
if (support_avx512())
return &gotoblas_SKYLAKEX;
if(support_avx2()){
openblas_warning(FALLBACK_VERBOSE, HASWELL_FALLBACK);
return &gotoblas_HASWELL;
}
if(support_avx()) {