We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0968ddd + 30d11bc commit b4cc4beCopy full SHA for b4cc4be
interface/ger.c
@@ -180,8 +180,10 @@ void CNAME(enum CBLAS_ORDER order,
180
181
#ifdef SMPTEST
182
// Threshold chosen so that speed-up is > 1 on a Xeon E5-2630
183
- if(1L * m * n > 2048L * GEMM_MULTITHREAD_THRESHOLD)
+ if(1L * m * n > 20480L * GEMM_MULTITHREAD_THRESHOLD)
184
nthreads = num_cpu_avail(2);
185
+ else if(1L * m * n > 2048L * GEMM_MULTITHREAD_THRESHOLD)
186
+ nthreads = MIN(3,num_cpu_avail(2));
187
else
188
nthreads = 1;
189
0 commit comments