Merge pull request #3250 from martin-frbg/gemv-shortcut

Add shortcut for small-size S/D GEMV_N with increments of one
This commit is contained in:
Martin Kroeker 2021-06-15 14:50:14 +02:00 committed by GitHub
commit 7aab5e826c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -202,6 +202,11 @@ void CNAME(enum CBLAS_ORDER order,
if (alpha == ZERO) return; if (alpha == ZERO) return;
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, buffer);
return;
}
IDEBUG_START; IDEBUG_START;
FUNCTION_PROFILE_START(); FUNCTION_PROFILE_START();