Skip to content

Commit e29b0cf

Browse files
authored
Allow multithreading TRMV again
revert workaround introduced for issue #1332 as the actual cause appears to be my incorrect fix from #1262 (see #1388)
1 parent 78d9910 commit e29b0cf

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

interface/trmv.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -218,11 +218,8 @@ void CNAME(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
218218
buffer = (FLOAT *)blas_memory_alloc(1);
219219

220220
#ifdef SMP
221-
/* nthreads = num_cpu_avail(2);
221+
nthreads = num_cpu_avail(2);
222222

223-
FIXME trmv_thread was found to be broken, see issue 1332 */
224-
nthreads = 1;
225-
226223
if (nthreads == 1) {
227224
#endif
228225

interface/ztrmv.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,9 +239,6 @@ void CNAME(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
239239
} else
240240
nthreads = 1;
241241

242-
/* FIXME TRMV multithreading appears to be broken, see issue 1332*/
243-
nthreads = 1;
244-
245242
if(nthreads > 1) {
246243
buffer_size = n > 16 ? 0 : n * 4 + 40;
247244
}

0 commit comments

Comments
 (0)