projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02087a6
)
Add shortcut for small-size gemv_n with increments of one
author
Martin Kroeker
<martin@ruby.chemie.uni-freiburg.de>
Wed, 26 May 2021 20:02:34 +0000
(22:02 +0200)
committer
GitHub
<noreply@github.com>
Wed, 26 May 2021 20:02:34 +0000
(22:02 +0200)
interface/gemv.c
patch
|
blob
|
history
diff --git
a/interface/gemv.c
b/interface/gemv.c
index
d5d739f
..
b6c2e60
100644
(file)
--- a/
interface/gemv.c
+++ b/
interface/gemv.c
@@
-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();