File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -1495,6 +1495,10 @@ int get_cpuname(void){
1495
1495
switch (model ) {
1496
1496
case 7 : // Alder Lake desktop
1497
1497
case 10 : // Alder Lake mobile
1498
+ if (support_avx512_bf16 ())
1499
+ return CPUTYPE_COOPERLAKE ;
1500
+ if (support_avx512 ())
1501
+ return CPUTYPE_SKYLAKEX ;
1498
1502
if (support_avx2 ())
1499
1503
return CPUTYPE_HASWELL ;
1500
1504
if (support_avx ())
Original file line number Diff line number Diff line change @@ -708,8 +708,11 @@ static gotoblas_t *get_coretype(void){
708
708
709
709
case 9 :
710
710
if (model == 7 || model == 10 ) { // Alder Lake
711
+ if (support_avx512_bf16 ())
712
+ return & gotoblas_COOPERLAKE ;
713
+ if (support_avx512 ())
714
+ return & gotoblas_SKYLAKEX ;
711
715
if (support_avx2 ()){
712
- openblas_warning (FALLBACK_VERBOSE , HASWELL_FALLBACK );
713
716
return & gotoblas_HASWELL ;
714
717
}
715
718
if (support_avx ()) {
You can’t perform that action at this time.
0 commit comments