Browse Source
Merge pull request #4441 from martin-frbg/gemv-threshold
Increase multithreading threshold for S/DGEMV by a factor of 50
tags/v0.3.27
Martin Kroeker
GitHub
1 year ago
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
interface/gemv.c
|
|
@@ -226,7 +226,7 @@ void CNAME(enum CBLAS_ORDER order, |
|
|
|
|
|
|
|
#ifdef SMP |
|
|
|
|
|
|
|
if ( 1L * m * n < 2304L * GEMM_MULTITHREAD_THRESHOLD ) |
|
|
|
if ( 1L * m * n < 115200L * GEMM_MULTITHREAD_THRESHOLD ) |
|
|
|
nthreads = 1; |
|
|
|
else |
|
|
|
nthreads = num_cpu_avail(2); |
|
|
|