summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwernsaar <wernsaar@googlemail.com>2014-07-06 10:17:07 +0200
committerwernsaar <wernsaar@googlemail.com>2014-07-06 10:17:07 +0200
commitf7267d9b0e2b8e55490b0f05bfd1b81627d49b4e (patch)
tree81c66ab0d9d9bbab30d01f0a5e9a82318f701450
parente0c080a28cf46eb3eb0e7cd9fe1b2cf1a5e80be6 (diff)
downloadopenblas-f7267d9b0e2b8e55490b0f05bfd1b81627d49b4e.tar.gz
openblas-f7267d9b0e2b8e55490b0f05bfd1b81627d49b4e.tar.bz2
openblas-f7267d9b0e2b8e55490b0f05bfd1b81627d49b4e.zip
added missing definition for DUNNINGTON
-rw-r--r--kernel/setparam-ref.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/kernel/setparam-ref.c b/kernel/setparam-ref.c
index 806c1928c..6eebd5fcb 100644
--- a/kernel/setparam-ref.c
+++ b/kernel/setparam-ref.c
@@ -740,6 +740,23 @@ static void init_parameter(void) {
#endif
#endif
+#ifdef DUNNINGTON
+
+#ifdef DEBUG
+ fprintf(stderr, "Dunnington\n");
+#endif
+
+ TABLE_NAME.sgemm_p = 42 * (l2 >> 9) + 8;
+ TABLE_NAME.dgemm_p = 42 * (l2 >> 9) + 8;
+ TABLE_NAME.cgemm_p = 21 * (l2 >> 9) + 4;
+ TABLE_NAME.zgemm_p = 21 * (l2 >> 9) + 4;
+#ifdef EXPRECISION
+ TABLE_NAME.qgemm_p = 42 * (l2 >> 9) + 8;
+ TABLE_NAME.xgemm_p = 21 * (l2 >> 9) + 4;
+#endif
+#endif
+
+
#ifdef NEHALEM
#ifdef DEBUG