Browse Source

Add shortcut for small-size gemv_n with increments of one

tags/v0.3.16^2
Martin Kroeker GitHub 4 years ago
parent
commit
f0e7345fb8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      interface/gemv.c

+ 5
- 0
interface/gemv.c View File

@@ -202,6 +202,11 @@ void CNAME(enum CBLAS_ORDER order,

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;

FUNCTION_PROFILE_START();


Loading…
Cancel
Save