summaryrefslogtreecommitdiff
path: root/math/openblas/files/patch-interface__ztrmv.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/openblas/files/patch-interface__ztrmv.c')
-rw-r--r--math/openblas/files/patch-interface__ztrmv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/math/openblas/files/patch-interface__ztrmv.c b/math/openblas/files/patch-interface__ztrmv.c
index 8261277d89e9..75c92100b3e2 100644
--- a/math/openblas/files/patch-interface__ztrmv.c
+++ b/math/openblas/files/patch-interface__ztrmv.c
@@ -1,11 +1,11 @@
---- interface/ztrmv.c.orig 2016-04-12 12:29:19.000000000 -0700
-+++ interface/ztrmv.c 2016-06-08 16:44:31.800058000 -0700
+--- interface/ztrmv.c.orig 2016-08-31 20:58:42.000000000 -0700
++++ interface/ztrmv.c 2017-01-01 10:26:22.759442000 -0800
@@ -242,7 +242,7 @@
else
#endif
{
- buffer_size = ((n - 1) / DTB_ENTRIES) * 2 * DTB_ENTRIES + 32 / sizeof(FLOAT);
+ buffer_size = (((n - 1) / DTB_ENTRIES) * 2 * DTB_ENTRIES + 32 / sizeof(FLOAT)) + 8;
+ // It seems to be required for some K8 or Barcelona CPU
+ buffer_size += 8;
if(incx != 1)
- buffer_size += n * 2;
- }