Skip to content

Commit f7e8f9e

Browse files
authored
Support AVX512-enabled AlderLake
1 parent 7656aba commit f7e8f9e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cpuid_x86.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1495,6 +1495,10 @@ int get_cpuname(void){
14951495
switch (model) {
14961496
case 7: // Alder Lake desktop
14971497
case 10: // Alder Lake mobile
1498+
if(support_avx512_bf16())
1499+
return CPUTYPE_COOPERLAKE;
1500+
if(support_avx512())
1501+
return CPUTYPE_SKYLAKEX;
14981502
if(support_avx2())
14991503
return CPUTYPE_HASWELL;
15001504
if(support_avx())

0 commit comments

Comments
 (0)