summaryrefslogtreecommitdiff
path: root/param.h
diff options
context:
space:
mode:
authorBine Brank <binebrank@gmail.com>2021-11-21 18:33:43 +0100
committerBine Brank <binebrank@gmail.com>2021-11-21 18:33:43 +0100
commit9388f05a3cab3b8850bb47c80ab8d10c1017692c (patch)
treef4c3604a42f903568d87283ddf3c88b7cb65d564 /param.h
parentb58d4f31abf55446d4707036df0a0c5c7ef26047 (diff)
downloadopenblas-9388f05a3cab3b8850bb47c80ab8d10c1017692c.tar.gz
openblas-9388f05a3cab3b8850bb47c80ab8d10c1017692c.tar.bz2
openblas-9388f05a3cab3b8850bb47c80ab8d10c1017692c.zip
configure SVE Makefile
Diffstat (limited to 'param.h')
-rw-r--r--param.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/param.h b/param.h
index ad0cecda7..bbc52fac4 100644
--- a/param.h
+++ b/param.h
@@ -3294,12 +3294,14 @@ is a big desktop or server with abundant cache rather than a phone or embedded d
#define CGEMM_DEFAULT_R 4096
#define ZGEMM_DEFAULT_R 4096
-#elif defined(ARMV8SVE)
+#elif defined(ARMV8SVE) || defined(A64FX)
#define SGEMM_DEFAULT_UNROLL_M 16
#define SGEMM_DEFAULT_UNROLL_N 4
-#define DGEMM_DEFAULT_UNROLL_M 4
+/* When all BLAS3 routines are implemeted with SVE, DGEMM_DEFAULT_UNROLL_M should be "sve_vl".
+Until then, just keep it different than DGEMM_DEFAULT_UNROLL_N to keep copy routines in both directions seperated. */
+#define DGEMM_DEFAULT_UNROLL_M 4
#define DGEMM_DEFAULT_UNROLL_N 8
#define CGEMM_DEFAULT_UNROLL_M 8