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
parent
commit
43cb266178
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      interface/gemv.c

+ 1
- 1
interface/gemv.c View File

@@ -226,7 +226,7 @@ void CNAME(enum CBLAS_ORDER order,


#ifdef SMP #ifdef SMP


if ( 1L * m * n < 2304L * GEMM_MULTITHREAD_THRESHOLD )
if ( 1L * m * n < 115200L * GEMM_MULTITHREAD_THRESHOLD )
nthreads = 1; nthreads = 1;
else else
nthreads = num_cpu_avail(2); nthreads = num_cpu_avail(2);


Loading…
Cancel
Save