@@ -62,10 +62,10 @@ BLASLONG gemm_offset_b = DEFAULT_GEMM_OFFSET_B;
62
62
BLASLONG gemm_offset_b = GEMM_OFFSET_B ;
63
63
#endif
64
64
65
- #if SHGEMM_P == shgemm_p
66
- BLASLONG shgemm_p = DEFAULT_GEMM_P ;
65
+ #if SBGEMM_P == sbgemm_p
66
+ BLASLONG sbgemm_p = DEFAULT_GEMM_P ;
67
67
#else
68
- BLASLONG shgemm_p = SHGEMM_P ;
68
+ BLASLONG sbgemm_p = SBGEMM_P ;
69
69
#endif
70
70
#if SGEMM_P == sgemm_p
71
71
BLASLONG sgemm_p = DEFAULT_GEMM_P ;
@@ -88,10 +88,10 @@ BLASLONG zgemm_p = DEFAULT_GEMM_P;
88
88
BLASLONG zgemm_p = ZGEMM_P ;
89
89
#endif
90
90
91
- #if SHGEMM_Q == shgemm_q
92
- BLASLONG shgemm_q = DEFAULT_GEMM_Q ;
91
+ #if SBGEMM_Q == sbgemm_q
92
+ BLASLONG sbgemm_q = DEFAULT_GEMM_Q ;
93
93
#else
94
- BLASLONG shgemm_q = SHGEMM_Q ;
94
+ BLASLONG sbgemm_q = SBGEMM_Q ;
95
95
#endif
96
96
#if SGEMM_Q == sgemm_q
97
97
BLASLONG sgemm_q = DEFAULT_GEMM_Q ;
@@ -114,10 +114,10 @@ BLASLONG zgemm_q = DEFAULT_GEMM_Q;
114
114
BLASLONG zgemm_q = ZGEMM_Q ;
115
115
#endif
116
116
117
- #if SHGEMM_R == shgemm_r
118
- BLASLONG shgemm_r = DEFAULT_GEMM_R ;
117
+ #if SBGEMM_R == sbgemm_r
118
+ BLASLONG sbgemm_r = DEFAULT_GEMM_R ;
119
119
#else
120
- BLASLONG shgemm_r = SHGEMM_R ;
120
+ BLASLONG sbgemm_r = SBGEMM_R ;
121
121
#endif
122
122
#if SGEMM_R == sgemm_r
123
123
BLASLONG sgemm_r = DEFAULT_GEMM_R ;
@@ -615,7 +615,7 @@ void blas_set_parameter(void){
615
615
616
616
size = BITMASK (cpuid3 , 16 , 0xff );
617
617
618
- shgemm_p = 192 * (size + 1 );
618
+ sbgemm_p = 192 * (size + 1 );
619
619
sgemm_p = 192 * (size + 1 );
620
620
dgemm_p = 96 * (size + 1 );
621
621
cgemm_p = 96 * (size + 1 );
@@ -629,7 +629,7 @@ void blas_set_parameter(void){
629
629
xgemm_p = 16 * (size + 1 );
630
630
#endif
631
631
632
- shgemm_r = (((BUFFER_SIZE - ((SHGEMM_P * SHGEMM_Q * 4 + GEMM_OFFSET_A + GEMM_ALIGN ) & ~GEMM_ALIGN )) / (SHGEMM_Q * 4 )) - 15 ) & ~15 ;
632
+ sbgemm_r = (((BUFFER_SIZE - ((SBGEMM_P * SBGEMM_Q * 4 + GEMM_OFFSET_A + GEMM_ALIGN ) & ~GEMM_ALIGN )) / (SBGEMM_Q * 4 )) - 15 ) & ~15 ;
633
633
sgemm_r = (((BUFFER_SIZE - ((SGEMM_P * SGEMM_Q * 4 + GEMM_OFFSET_A + GEMM_ALIGN ) & ~GEMM_ALIGN )) / (SGEMM_Q * 4 )) - 15 ) & ~15 ;
634
634
dgemm_r = (((BUFFER_SIZE - ((DGEMM_P * DGEMM_Q * 8 + GEMM_OFFSET_A + GEMM_ALIGN ) & ~GEMM_ALIGN )) / (DGEMM_Q * 8 )) - 15 ) & ~15 ;
635
635
cgemm_r = (((BUFFER_SIZE - ((CGEMM_P * CGEMM_Q * 8 + GEMM_OFFSET_A + GEMM_ALIGN ) & ~GEMM_ALIGN )) / (CGEMM_Q * 8 )) - 15 ) & ~15 ;
0 commit comments