From d488d7acb656c751842e2f102ac66d38344e1a00 Mon Sep 17 00:00:00 2001 From: "Field G. Van Zee" Date: Thu, 23 May 2019 13:00:53 -0500 Subject: [PATCH] Increased MT sup threshold for double to 180. Details: - Increased the double-precision real MT threshold (which controls whether the sup implementation kicks for smaller m dimension values) from 80 to 180, and this change was made for both haswell and zen subconfigurations. This is less about the m dimension in particular and more about facilitating a smoother performance transition when m = n = k. --- config/haswell/bli_cntx_init_haswell.c | 2 +- config/zen/bli_cntx_init_zen.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/haswell/bli_cntx_init_haswell.c b/config/haswell/bli_cntx_init_haswell.c index 879fa660d..cd646c737 100644 --- a/config/haswell/bli_cntx_init_haswell.c +++ b/config/haswell/bli_cntx_init_haswell.c @@ -154,7 +154,7 @@ void bli_cntx_init_haswell( cntx_t* cntx ) // Initialize sup thresholds with architecture-appropriate values. // s d c z - bli_blksz_init_easy( &thresh[ BLIS_MT ], -1, 80, -1, -1 ); + bli_blksz_init_easy( &thresh[ BLIS_MT ], -1, 180, -1, -1 ); bli_blksz_init_easy( &thresh[ BLIS_NT ], -1, 100, -1, -1 ); bli_blksz_init_easy( &thresh[ BLIS_KT ], -1, 120, -1, -1 ); diff --git a/config/zen/bli_cntx_init_zen.c b/config/zen/bli_cntx_init_zen.c index 84f43bf32..0d76dff4d 100644 --- a/config/zen/bli_cntx_init_zen.c +++ b/config/zen/bli_cntx_init_zen.c @@ -178,7 +178,7 @@ void bli_cntx_init_zen( cntx_t* cntx ) // Initialize sup thresholds with architecture-appropriate values. // s d c z - bli_blksz_init_easy( &thresh[ BLIS_MT ], -1, 80, -1, -1 ); + bli_blksz_init_easy( &thresh[ BLIS_MT ], -1, 180, -1, -1 ); bli_blksz_init_easy( &thresh[ BLIS_NT ], -1, 100, -1, -1 ); bli_blksz_init_easy( &thresh[ BLIS_KT ], -1, 120, -1, -1 );