fix function typecasts
This commit is contained in:
parent
d1ee6ff73f
commit
64365c919e
|
@ -115,7 +115,7 @@ void CNAME(blasint n, FLOAT alpha, FLOAT *x, blasint incx, FLOAT *y, blasint inc
|
|||
#endif
|
||||
|
||||
blas_level1_thread(mode, n, 0, 0, &alpha,
|
||||
x, incx, y, incy, NULL, 0, (void *)AXPYU_K, nthreads);
|
||||
x, incx, y, incy, NULL, 0, (int (*)(void))AXPYU_K, nthreads);
|
||||
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -102,7 +102,7 @@ void CNAME(blasint n, FLOAT alpha, FLOAT *x, blasint incx){
|
|||
#else
|
||||
&alpha,
|
||||
#endif
|
||||
x, incx, NULL, 0, NULL, 0, (void *)SCAL_K, nthreads);
|
||||
x, incx, NULL, 0, NULL, 0, (int (*)(void))SCAL_K, nthreads);
|
||||
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -128,9 +128,9 @@ void CNAME(blasint n, FLOAT *ALPHA, FLOAT *x, blasint incx, FLOAT *y, blasint in
|
|||
|
||||
blas_level1_thread(mode, n, 0, 0, ALPHA, x, incx, y, incy, NULL, 0,
|
||||
#ifndef CONJ
|
||||
(void *)AXPYU_K,
|
||||
(int (*)(void))AXPYU_K,
|
||||
#else
|
||||
(void *)AXPYC_K,
|
||||
(int (*)(void))AXPYC_K,
|
||||
#endif
|
||||
nthreads);
|
||||
}
|
||||
|
|
|
@ -108,7 +108,7 @@ void CNAME(blasint n, FLOAT alpha_r, void *vx, blasint incx){
|
|||
mode = BLAS_SINGLE | BLAS_COMPLEX;
|
||||
#endif
|
||||
|
||||
blas_level1_thread(mode, n, 0, 0, alpha, x, incx, NULL, 0, NULL, 0, (void *)SCAL_K, nthreads);
|
||||
blas_level1_thread(mode, n, 0, 0, alpha, x, incx, NULL, 0, NULL, 0, (int (*)(void))SCAL_K, nthreads);
|
||||
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue