From 39937d15cd4dfbd8edfcab72db0fa7a57a6c0110 Mon Sep 17 00:00:00 2001 From: Ashwin Sekhar T K Date: Fri, 20 Nov 2015 01:12:04 +0530 Subject: [PATCH] Change BUFFER_SIZE for Cortex A57 to 20 MB Change the GEMM_P, GEMM_Q, GEMM_R values for Cortex A57 --- common_arm64.h | 2 +- param.h | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/common_arm64.h b/common_arm64.h index f21e89346..1fa312d35 100644 --- a/common_arm64.h +++ b/common_arm64.h @@ -110,7 +110,7 @@ REALNAME: #define HUGE_PAGESIZE ( 4 << 20) #if defined(CORTEXA57) -#define BUFFER_SIZE (40 << 20) +#define BUFFER_SIZE (20 << 20) #else #define BUFFER_SIZE (16 << 20) #endif diff --git a/param.h b/param.h index 2fe3b8a0a..bed2e452b 100644 --- a/param.h +++ b/param.h @@ -2238,17 +2238,17 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #define ZGEMM_DEFAULT_UNROLL_M 4 #define ZGEMM_DEFAULT_UNROLL_N 4 -#define SGEMM_DEFAULT_P 128 +#define SGEMM_DEFAULT_P 512 #define DGEMM_DEFAULT_P 256 #define CGEMM_DEFAULT_P 256 #define ZGEMM_DEFAULT_P 128 -#define SGEMM_DEFAULT_Q 240 -#define DGEMM_DEFAULT_Q 1024 -#define CGEMM_DEFAULT_Q 1024 +#define SGEMM_DEFAULT_Q 1024 +#define DGEMM_DEFAULT_Q 512 +#define CGEMM_DEFAULT_Q 512 #define ZGEMM_DEFAULT_Q 512 -#define SGEMM_DEFAULT_R 12288 +#define SGEMM_DEFAULT_R 4096 #define DGEMM_DEFAULT_R 4096 #define CGEMM_DEFAULT_R 4096 #define ZGEMM_DEFAULT_R 2048