Revert PR #3250 (shortcut without buffer allocation) as it is unsafe on some x86_64
This commit is contained in:
parent
54ffe280df
commit
1dea57ab25
|
@ -201,12 +201,14 @@ void CNAME(enum CBLAS_ORDER order,
|
||||||
if (beta != ONE) SCAL_K(leny, 0, 0, beta, y, blasabs(incy), NULL, 0, NULL, 0);
|
if (beta != ONE) SCAL_K(leny, 0, 0, beta, y, blasabs(incy), NULL, 0, NULL, 0);
|
||||||
|
|
||||||
if (alpha == ZERO) return;
|
if (alpha == ZERO) return;
|
||||||
|
|
||||||
|
#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) {
|
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);
|
GEMV_N(m, n, 0, alpha, a, lda, x, incx, y, incy, NULL);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
IDEBUG_START;
|
IDEBUG_START;
|
||||||
|
|
||||||
FUNCTION_PROFILE_START();
|
FUNCTION_PROFILE_START();
|
||||||
|
|
Loading…
Reference in New Issue