projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ad02ef
)
Fix zgemv.c compilation when stack allocation is disabled
author
Jerome Robert
<jeromerobert@gmx.com>
Mon, 8 Feb 2016 11:05:02 +0000
(12:05 +0100)
committer
Jerome Robert
<jeromerobert@gmx.com>
Mon, 8 Feb 2016 11:05:02 +0000
(12:05 +0100)
interface/zgemv.c
patch
|
blob
|
history
diff --git
a/interface/zgemv.c
b/interface/zgemv.c
index
abf2aa7
..
e5ba375
100644
(file)
--- a/
interface/zgemv.c
+++ b/
interface/zgemv.c
@@
-239,7
+239,7
@@
void CNAME(enum CBLAS_ORDER order,
buffer_size = (buffer_size + 3) & ~3;
STACK_ALLOC(buffer_size, FLOAT, buffer);
-#if
def ARCH_X86_64
+#if
defined(ARCH_X86_64) && defined(MAX_STACK_ALLOC) && MAX_STACK_ALLOC > 0
// cgemv_t.S return NaN if there are NaN or Inf in the buffer (see bug #746)
if(trans && stack_alloc_size)
memset(buffer, 0, MIN(BUFFER_SIZE, sizeof(FLOAT) * buffer_size));