Increase multithreading threshold by a factor of 50

This commit is contained in:
Martin Kroeker
2024-01-17 20:59:24 +01:00
committed by GitHub
parent ec46ca7a43
commit d2fc4f3b4d

View File

@@ -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);