From ba6d48510262a62e4728e83e9fd06214d9b4247a Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Thu, 4 Apr 2024 18:52:38 +0200 Subject: [PATCH] Adjust SWITCH_RATIO for ZEN and apply GEMM_PREFERRED_SIZE --- param.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/param.h b/param.h index 69f7c67a4b..445bab0832 100644 --- a/param.h +++ b/param.h @@ -614,7 +614,13 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #define SYMV_P 8 -#define SWITCH_RATIO 16 +#if defined(XDOUBLE) || defined(DOUBLE) +#define SWITCH_RATIO 4 +#define GEMM_PREFERED_SIZE 4 +#else +#define SWITCH_RATIO 8 +#define GEMM_PREFERED_SIZE 8 +#endif #ifdef ARCH_X86