Browse Source

Merge 5f8744d4e4 into 06c09deee9

pull/4833/merge
Christopher Sidebottom GitHub 9 months ago
parent
commit
cef77f8e3c
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 18 additions and 8 deletions
  1. +18
    -8
      param.h

+ 18
- 8
param.h View File

@@ -3775,8 +3775,10 @@ Until then, just keep it different than DGEMM_DEFAULT_UNROLL_N to keep copy rout


#if defined(XDOUBLE) || defined(DOUBLE) #if defined(XDOUBLE) || defined(DOUBLE)
#define SWITCH_RATIO 8 #define SWITCH_RATIO 8
#define GEMM_PREFERED_SIZE 4
#else #else
#define SWITCH_RATIO 16 #define SWITCH_RATIO 16
#define GEMM_PREFERED_SIZE 8
#endif #endif


#define SGEMM_DEFAULT_UNROLL_M 4 // Actually 1VL (8) but kept seperate to keep copies seperate #define SGEMM_DEFAULT_UNROLL_M 4 // Actually 1VL (8) but kept seperate to keep copies seperate
@@ -3793,13 +3795,13 @@ Until then, just keep it different than DGEMM_DEFAULT_UNROLL_N to keep copy rout
#define ZGEMM_DEFAULT_UNROLL_N 4 #define ZGEMM_DEFAULT_UNROLL_N 4
#define ZGEMM_DEFAULT_UNROLL_MN 16 #define ZGEMM_DEFAULT_UNROLL_MN 16


#define SGEMM_DEFAULT_P 128
#define DGEMM_DEFAULT_P 160
#define SGEMM_DEFAULT_P 240
#define DGEMM_DEFAULT_P 240
#define CGEMM_DEFAULT_P 128 #define CGEMM_DEFAULT_P 128
#define ZGEMM_DEFAULT_P 128 #define ZGEMM_DEFAULT_P 128


#define SGEMM_DEFAULT_Q 352
#define DGEMM_DEFAULT_Q 128
#define SGEMM_DEFAULT_Q 640
#define DGEMM_DEFAULT_Q 320
#define CGEMM_DEFAULT_Q 224 #define CGEMM_DEFAULT_Q 224
#define ZGEMM_DEFAULT_Q 112 #define ZGEMM_DEFAULT_Q 112


@@ -3810,6 +3812,14 @@ Until then, just keep it different than DGEMM_DEFAULT_UNROLL_N to keep copy rout


#else /* Other/undetected ARMv8 cores */ #else /* Other/undetected ARMv8 cores */


#if defined(XDOUBLE) || defined(DOUBLE)
#define SWITCH_RATIO 8
#define GEMM_PREFERED_SIZE 4
#else
#define SWITCH_RATIO 16
#define GEMM_PREFERED_SIZE 8
#endif

#define SGEMM_DEFAULT_UNROLL_M 16 #define SGEMM_DEFAULT_UNROLL_M 16
#define SGEMM_DEFAULT_UNROLL_N 4 #define SGEMM_DEFAULT_UNROLL_N 4


@@ -3822,13 +3832,13 @@ Until then, just keep it different than DGEMM_DEFAULT_UNROLL_N to keep copy rout
#define ZGEMM_DEFAULT_UNROLL_M 4 #define ZGEMM_DEFAULT_UNROLL_M 4
#define ZGEMM_DEFAULT_UNROLL_N 4 #define ZGEMM_DEFAULT_UNROLL_N 4


#define SGEMM_DEFAULT_P 128
#define DGEMM_DEFAULT_P 160
#define SGEMM_DEFAULT_P 240
#define DGEMM_DEFAULT_P 240
#define CGEMM_DEFAULT_P 128 #define CGEMM_DEFAULT_P 128
#define ZGEMM_DEFAULT_P 128 #define ZGEMM_DEFAULT_P 128


#define SGEMM_DEFAULT_Q 352
#define DGEMM_DEFAULT_Q 128
#define SGEMM_DEFAULT_Q 640
#define DGEMM_DEFAULT_Q 320
#define CGEMM_DEFAULT_Q 224 #define CGEMM_DEFAULT_Q 224
#define ZGEMM_DEFAULT_Q 112 #define ZGEMM_DEFAULT_Q 112




Loading…
Cancel
Save