From 6f2e18d5e59b4d04b27d813657219259c2c61237 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Mon, 6 Apr 2020 20:51:14 +0200 Subject: [PATCH] Comment out SGEMM_R for POWER8 again, try if declaring P and Q as UL is sufficient to avoid int overflow --- param.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/param.h b/param.h index bef3d5dc1..0bc789b57 100644 --- a/param.h +++ b/param.h @@ -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_N 2 -#define SGEMM_DEFAULT_P 1280 -#define DGEMM_DEFAULT_P 640 -#define CGEMM_DEFAULT_P 640 -#define ZGEMM_DEFAULT_P 320 +#define SGEMM_DEFAULT_P 1280UL +#define DGEMM_DEFAULT_P 640UL +#define CGEMM_DEFAULT_P 640UL +#define ZGEMM_DEFAULT_P 320UL -#define SGEMM_DEFAULT_Q 640 -#define DGEMM_DEFAULT_Q 720 -#define CGEMM_DEFAULT_Q 640 -#define ZGEMM_DEFAULT_Q 640 +#define SGEMM_DEFAULT_Q 640UL +#define DGEMM_DEFAULT_Q 720UL +#define CGEMM_DEFAULT_Q 640UL +#define ZGEMM_DEFAULT_Q 640UL +äif 0 #define SGEMM_DEFAULT_R SGEMM_DEFAULT_P #define DGEMM_DEFAULT_R DGEMM_DEFAULT_P #define CGEMM_DEFAULT_R CGEMM_DEFAULT_P #define ZGEMM_DEFAULT_R ZGEMM_DEFAULT_P - +#endif #define SYMV_P 8 #endif