Skip to content

Commit bdc73a4

Browse files
authored
Add parameters for Z14
from patch provided by aarnez in #991
1 parent 1249ee1 commit bdc73a4

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

param.h

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2915,6 +2915,46 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29152915
#endif
29162916

29172917

2918+
#if defined(Z14)
2919+
#define SNUMOPT 2
2920+
#define DNUMOPT 2
2921+
2922+
#define GEMM_DEFAULT_OFFSET_A 0
2923+
#define GEMM_DEFAULT_OFFSET_B 0
2924+
#define GEMM_DEFAULT_ALIGN 0x03fffUL
2925+
2926+
#define SGEMM_DEFAULT_UNROLL_M 8
2927+
#define SGEMM_DEFAULT_UNROLL_N 4
2928+
2929+
#define DGEMM_DEFAULT_UNROLL_M 8
2930+
#define DGEMM_DEFAULT_UNROLL_N 4
2931+
2932+
#define CGEMM_DEFAULT_UNROLL_M 4
2933+
#define CGEMM_DEFAULT_UNROLL_N 4
2934+
2935+
#define ZGEMM_DEFAULT_UNROLL_M 4
2936+
#define ZGEMM_DEFAULT_UNROLL_N 4
2937+
2938+
#define SGEMM_DEFAULT_P 456
2939+
#define DGEMM_DEFAULT_P 320
2940+
#define CGEMM_DEFAULT_P 480
2941+
#define ZGEMM_DEFAULT_P 224
2942+
2943+
#define SGEMM_DEFAULT_Q 488
2944+
#define DGEMM_DEFAULT_Q 384
2945+
#define CGEMM_DEFAULT_Q 128
2946+
#define ZGEMM_DEFAULT_Q 352
2947+
2948+
#define SGEMM_DEFAULT_R 8192
2949+
#define DGEMM_DEFAULT_R 4096
2950+
#define CGEMM_DEFAULT_R 4096
2951+
#define ZGEMM_DEFAULT_R 2048
2952+
2953+
2954+
#define SYMV_P 16
2955+
#endif
2956+
2957+
29182958

29192959
#ifdef GENERIC
29202960

0 commit comments

Comments
 (0)