Merge pull request #482 from jeromerobert/develop

Allow to do gemv and ger buffer allocation on the stack
This commit is contained in:
Zhang Xianyi
2015-01-02 02:26:17 +08:00
4 changed files with 32 additions and 3 deletions

View File

@@ -306,7 +306,7 @@ int CNAME(BLASLONG m, BLASLONG n, BLASLONG dummy1, FLOAT alpha, FLOAT *a, BLASLO
if ( n < 1 ) return(0);
xbuffer = buffer;
ytemp = buffer + NBMAX;
ytemp = buffer + (m < NBMAX ? m : NBMAX);
n0 = n / NBMAX;
n1 = (n % NBMAX) >> 2 ;