From fcb88b9d529b8735f4328262d19b902c719fcc44 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Wed, 31 Jul 2024 23:21:35 +0200 Subject: [PATCH 1/3] enable GEMM/GEMV forwarding for riscv and ppc --- Makefile.system | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile.system b/Makefile.system index 436245c35..12cc57f25 100644 --- a/Makefile.system +++ b/Makefile.system @@ -277,6 +277,12 @@ endif ifeq ($(ARCH), arm64) GEMM_GEMV_FORWARD = 1 endif +ifeq($(ARCH), riscv) +GEMM_GEMV_FORWARD = 1 +endif +ifeq ($(ARCH), power) +GEMM_GEMV_FORWARD = 1 +endif ifeq ($(SMALL_MATRIX_OPT), 1) CCOMMON_OPT += -DSMALL_MATRIX_OPT From 9eecd0d33b3470d4ce9d58290ed6aa31973b9051 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Wed, 31 Jul 2024 23:29:12 +0200 Subject: [PATCH 2/3] enable GEMM/GEMV forwarding for riscv and ppc --- cmake/system.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/system.cmake b/cmake/system.cmake index efb7aef94..a3f7fd173 100644 --- a/cmake/system.cmake +++ b/cmake/system.cmake @@ -391,7 +391,7 @@ endif () if (X86_64 OR ${CORE} STREQUAL POWER10) set(SMALL_MATRIX_OPT TRUE) endif () -if (ARM64) +if (ARM64 OR RISCV64 OR POWER) set(GEMM_GEMV_FORWARD TRUE) endif () From 42d8865234ffcf05c7b9e6dfd9ee0d435162145f Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Thu, 1 Aug 2024 12:24:45 +0200 Subject: [PATCH 3/3] fix typo --- Makefile.system | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.system b/Makefile.system index 12cc57f25..b065f9a98 100644 --- a/Makefile.system +++ b/Makefile.system @@ -277,7 +277,7 @@ endif ifeq ($(ARCH), arm64) GEMM_GEMV_FORWARD = 1 endif -ifeq($(ARCH), riscv) +ifeq ($(ARCH), riscv) GEMM_GEMV_FORWARD = 1 endif ifeq ($(ARCH), power)