Support AVX512-enabled AlderLake

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

View File

@ -1495,6 +1495,10 @@ int get_cpuname(void){
switch (model) {
case 7: // Alder Lake desktop
case 10: // Alder Lake mobile
if(support_avx512_bf16())
return CPUTYPE_COOPERLAKE;
if(support_avx512())
return CPUTYPE_SKYLAKEX;
if(support_avx2())
return CPUTYPE_HASWELL;
if(support_avx())