Comment out SGEMM_R for POWER8 again, try if declaring P and Q as UL is sufficient to avoid int overflow

This commit is contained in:
Martin Kroeker 2020-04-06 20:51:14 +02:00 committed by GitHub
parent 66caf61a2c
commit 6f2e18d5e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 9 deletions

19
param.h
View File

@ -2229,21 +2229,22 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define ZGEMM_DEFAULT_UNROLL_M 8 #define ZGEMM_DEFAULT_UNROLL_M 8
#define ZGEMM_DEFAULT_UNROLL_N 2 #define ZGEMM_DEFAULT_UNROLL_N 2
#define SGEMM_DEFAULT_P 1280 #define SGEMM_DEFAULT_P 1280UL
#define DGEMM_DEFAULT_P 640 #define DGEMM_DEFAULT_P 640UL
#define CGEMM_DEFAULT_P 640 #define CGEMM_DEFAULT_P 640UL
#define ZGEMM_DEFAULT_P 320 #define ZGEMM_DEFAULT_P 320UL
#define SGEMM_DEFAULT_Q 640 #define SGEMM_DEFAULT_Q 640UL
#define DGEMM_DEFAULT_Q 720 #define DGEMM_DEFAULT_Q 720UL
#define CGEMM_DEFAULT_Q 640 #define CGEMM_DEFAULT_Q 640UL
#define ZGEMM_DEFAULT_Q 640 #define ZGEMM_DEFAULT_Q 640UL
äif 0
#define SGEMM_DEFAULT_R SGEMM_DEFAULT_P #define SGEMM_DEFAULT_R SGEMM_DEFAULT_P
#define DGEMM_DEFAULT_R DGEMM_DEFAULT_P #define DGEMM_DEFAULT_R DGEMM_DEFAULT_P
#define CGEMM_DEFAULT_R CGEMM_DEFAULT_P #define CGEMM_DEFAULT_R CGEMM_DEFAULT_P
#define ZGEMM_DEFAULT_R ZGEMM_DEFAULT_P #define ZGEMM_DEFAULT_R ZGEMM_DEFAULT_P
#endif
#define SYMV_P 8 #define SYMV_P 8
#endif #endif