[z]ger: increase multithread threshold

The ones given in 3ae30cd was by far to low because I
mixed m and m*n in my measures. Note that the new ones
are closed to the [z]gemv ones which is comforting
that both are right.
This commit is contained in:
Jerome Robert 2016-01-15 18:40:13 +01:00
parent d2f84c9c8a
commit 1a1935507b
2 changed files with 2 additions and 2 deletions

View File

@ -175,7 +175,7 @@ void CNAME(enum CBLAS_ORDER order,
#ifdef SMPTEST #ifdef SMPTEST
// Threshold chosen so that speed-up is > 1 on a Xeon E5-2630 // Threshold chosen so that speed-up is > 1 on a Xeon E5-2630
if(1L * m * n > 24L * GEMM_MULTITHREAD_THRESHOLD) if(1L * m * n > 2048L * GEMM_MULTITHREAD_THRESHOLD)
nthreads = num_cpu_avail(2); nthreads = num_cpu_avail(2);
else else
nthreads = 1; nthreads = 1;

View File

@ -214,7 +214,7 @@ void CNAME(enum CBLAS_ORDER order,
#ifdef SMPTEST #ifdef SMPTEST
// Threshold chosen so that speed-up is > 1 on a Xeon E5-2630 // Threshold chosen so that speed-up is > 1 on a Xeon E5-2630
if(1L * m * n > 3L * sizeof(FLOAT) * GEMM_MULTITHREAD_THRESHOLD) if(1L * m * n > 36L * sizeof(FLOAT) * sizeof(FLOAT) * GEMM_MULTITHREAD_THRESHOLD)
nthreads = num_cpu_avail(2); nthreads = num_cpu_avail(2);
else else
nthreads = 1; nthreads = 1;