Support AVX512-enabled AlderLake
This commit is contained in:
parent
7656aba00e
commit
f7e8f9ec57
|
@ -1495,6 +1495,10 @@ int get_cpuname(void){
|
||||||
switch (model) {
|
switch (model) {
|
||||||
case 7: // Alder Lake desktop
|
case 7: // Alder Lake desktop
|
||||||
case 10: // Alder Lake mobile
|
case 10: // Alder Lake mobile
|
||||||
|
if(support_avx512_bf16())
|
||||||
|
return CPUTYPE_COOPERLAKE;
|
||||||
|
if(support_avx512())
|
||||||
|
return CPUTYPE_SKYLAKEX;
|
||||||
if(support_avx2())
|
if(support_avx2())
|
||||||
return CPUTYPE_HASWELL;
|
return CPUTYPE_HASWELL;
|
||||||
if(support_avx())
|
if(support_avx())
|
||||||
|
|
Loading…
Reference in New Issue