Browse Source

Support AVX512-enabled AlderLake

tags/v0.3.20
Martin Kroeker GitHub 3 years ago
parent
commit
f7e8f9ec57
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      cpuid_x86.c

+ 4
- 0
cpuid_x86.c 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())


Loading…
Cancel
Save