mirror of
https://github.com/amd/blis.git
synced 2026-05-12 01:59:59 +00:00
Modified DSCALV AOCL dynamic
- AOCL dynamic logic that determines the number of threads to be launched has been modified. AMD-Internal: [CPUPL-3956] Change-Id: Ia6c052515bd24e93660f020a7d0894fc75a229fc
This commit is contained in:
committed by
HariharaSudhan S
parent
dd1cf23090
commit
bed6bd4941
@@ -1606,14 +1606,22 @@ static void aocl_dscalv_dynamic
|
||||
case BLIS_ARCH_ZEN2:
|
||||
case BLIS_ARCH_ZEN3:
|
||||
|
||||
if ( n_elem <= 10000 )
|
||||
if ( n_elem <= 30000)
|
||||
*nt_ideal = 1;
|
||||
else if (n_elem <= 20000)
|
||||
else if (n_elem <= 100000)
|
||||
*nt_ideal = 2;
|
||||
else if (n_elem <= 50000)
|
||||
*nt_ideal = 4;
|
||||
else
|
||||
else if (n_elem <= 500000)
|
||||
*nt_ideal = 8;
|
||||
else if (n_elem <= 4000000)
|
||||
*nt_ideal = 12;
|
||||
else if (n_elem <= 2500000)
|
||||
*nt_ideal = 16;
|
||||
else if(n_elem <= 7000000)
|
||||
*nt_ideal = 24;
|
||||
else if(n_elem <= 10000000)
|
||||
*nt_ideal = 32;
|
||||
else
|
||||
*nt_ideal = 64;
|
||||
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user