Skip to content

Commit d7b13fe

Browse files
authored
Provide a default GEMM_DIVIDE_LIMIT and add it to DYNAMIC_ARCH
1 parent 8d6238f commit d7b13fe

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

common_param.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
typedef struct {
4848
int dtb_entries;
4949
int switch_ratio;
50+
int divide_limit;
5051
int offsetA, offsetB, align;
5152
#if BUILD_HFLOAT16 == 1
5253
int shgemm_p, shgemm_q, shgemm_r;

param.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4260,6 +4260,10 @@ Until then, just keep it different than DGEMM_DEFAULT_UNROLL_N to keep copy rout
42604260
#define SWITCH_RATIO 2
42614261
#endif
42624262

4263+
#ifndef GEMM_DIVIDE_LIMIT
4264+
#define GEMM_DIVIDE_LIMIT 0
4265+
#endif
4266+
42634267
#ifndef QGEMM_DEFAULT_UNROLL_M
42644268
#define QGEMM_DEFAULT_UNROLL_M 2
42654269
#endif

0 commit comments

Comments
 (0)