Browse Source

Fix z/ctrmv stack allocation on AMD bulldozer and barcelona target

* Hopefully, because this was found by error and trial (dark magic)
* Ref #786
tags/v0.2.19^2
Jerome Robert 9 years ago
parent
commit
d346c533b1
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      interface/ztrmv.c

+ 2
- 0
interface/ztrmv.c View File

@@ -243,6 +243,8 @@ void CNAME(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
#endif
{
buffer_size = ((n - 1) / DTB_ENTRIES) * 2 * DTB_ENTRIES + 32 / sizeof(FLOAT);
// It seems to be required for some K8 or Barcelona CPU
buffer_size += 8;
if(incx != 1)
buffer_size += n * 2;
}


Loading…
Cancel
Save