Skip to content

Commit 584e876

Browse files
authored
set SWITCH_RATIO for Cortex-A76
1 parent 4718d97 commit 584e876

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

param.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3365,6 +3365,12 @@ is a big desktop or server with abundant cache rather than a phone or embedded d
33653365
#define ZGEMM_DEFAULT_UNROLL_M 4
33663366
#define ZGEMM_DEFAULT_UNROLL_N 4
33673367

3368+
#if defined(XDOUBLE) || defined(DOUBLE)
3369+
#define SWITCH_RATIO 8
3370+
#else
3371+
#define SWITCH_RATIO 16
3372+
#endif
3373+
33683374
#define SGEMM_DEFAULT_P 256
33693375
#define DGEMM_DEFAULT_P 128
33703376
#define CGEMM_DEFAULT_P 128

0 commit comments

Comments
 (0)