clean up trmv interface from scattered workaround
This commit is contained in:
parent
465133e7cb
commit
ebf443fe72
|
@ -43,6 +43,9 @@
|
||||||
#include "functable.h"
|
#include "functable.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* trmv_thread was found to be broken, see issue 1332 */
|
||||||
|
#undef SMP
|
||||||
|
|
||||||
#ifdef XDOUBLE
|
#ifdef XDOUBLE
|
||||||
#define ERROR_NAME "QTRMV "
|
#define ERROR_NAME "QTRMV "
|
||||||
#elif defined(DOUBLE)
|
#elif defined(DOUBLE)
|
||||||
|
@ -218,10 +221,7 @@ void CNAME(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
|
||||||
buffer = (FLOAT *)blas_memory_alloc(1);
|
buffer = (FLOAT *)blas_memory_alloc(1);
|
||||||
|
|
||||||
#ifdef SMP
|
#ifdef SMP
|
||||||
/* nthreads = num_cpu_avail(2);
|
nthreads = num_cpu_avail(2);
|
||||||
|
|
||||||
FIXME trmv_thread was found to be broken, see issue 1332 */
|
|
||||||
nthreads = 1;
|
|
||||||
|
|
||||||
if (nthreads == 1) {
|
if (nthreads == 1) {
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -36,6 +36,10 @@
|
||||||
/* or implied, of The University of Texas at Austin. */
|
/* or implied, of The University of Texas at Austin. */
|
||||||
/*********************************************************************/
|
/*********************************************************************/
|
||||||
|
|
||||||
|
|
||||||
|
/* FIXME TRMV multithreading appears to be broken, see issue 1332*/
|
||||||
|
#undef SMP
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
@ -239,9 +243,6 @@ void CNAME(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
|
||||||
} else
|
} else
|
||||||
nthreads = 1;
|
nthreads = 1;
|
||||||
|
|
||||||
/* FIXME TRMV multithreading appears to be broken, see issue 1332*/
|
|
||||||
nthreads = 1;
|
|
||||||
|
|
||||||
if(nthreads > 1) {
|
if(nthreads > 1) {
|
||||||
buffer_size = n > 16 ? 0 : n * 4 + 40;
|
buffer_size = n > 16 ? 0 : n * 4 + 40;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue