Skip to content

Commit

Permalink
Increase multithreading threshold by a factor of 50
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-frbg authored Jan 17, 2024
1 parent ec46ca7 commit d2fc4f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interface/gemv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d2fc4f3

Please sign in to comment.