Browse Source

Update gemv.c

pull/3308/head
Martin Kroeker GitHub 5 years ago
parent
commit
7f0ebb21ed
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      interface/gemv.c

+ 3
- 1
interface/gemv.c View File

@@ -201,7 +201,9 @@ void CNAME(enum CBLAS_ORDER order,
if (beta != ONE) SCAL_K(leny, 0, 0, beta, y, blasabs(incy), NULL, 0, NULL, 0);

if (alpha == ZERO) return;
#if 1

#if 0
/* this optimization causes stack corruption on x86_64 under OSX, Windows and FreeBSD */
if (trans == 0 && incx == 1 && incy == 1 && m*n < 2304 *GEMM_MULTITHREAD_THRESHOLD) {
GEMV_N(m, n, 0, alpha, a, lda, x, incx, y, incy, NULL);
return;


Loading…
Cancel
Save