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 f5c080f + 2957281 commit 39c9606Copy full SHA for 39c9606
interface/gbmv.c
@@ -227,7 +227,10 @@ void CNAME(enum CBLAS_ORDER order,
227
buffer = (FLOAT *)blas_memory_alloc(1);
228
229
#ifdef SMP
230
- nthreads = num_cpu_avail(2);
+ if (m * n < 250000 || kl+ku < 15 )
231
+ nthreads = 1;
232
+ else
233
+ nthreads = num_cpu_avail(2);
234
235
if (nthreads == 1) {
236
#endif
interface/zgbmv.c
@@ -251,7 +251,10 @@ void CNAME(enum CBLAS_ORDER order,
251
252
253
254
+ if (m * n < 125000 || ku + kl < 15)
255
256
257
258
259
260
0 commit comments