Modify complex CBLAS functions to take void pointers
Modify complex CBLAS functions to take void pointers instead of float or double arguments (to bring the prototypes in line with netlib and other implementations' cblas.h)
This commit is contained in:
@@ -149,11 +149,17 @@ void CNAME(enum CBLAS_ORDER order,
|
||||
enum CBLAS_TRANSPOSE TransA,
|
||||
blasint m, blasint n,
|
||||
blasint ku, blasint kl,
|
||||
FLOAT *ALPHA,
|
||||
FLOAT *a, blasint lda,
|
||||
FLOAT *x, blasint incx,
|
||||
FLOAT *BETA,
|
||||
FLOAT *y, blasint incy){
|
||||
void *VALPHA,
|
||||
void *va, blasint lda,
|
||||
void *vx, blasint incx,
|
||||
void *VBETA,
|
||||
void *vy, blasint incy){
|
||||
|
||||
FLOAT* ALPHA = (FLOAT*) VALPHA;
|
||||
FLOAT* BETA = (FLOAT*) VBETA;
|
||||
FLOAT* a = (FLOAT*) va;
|
||||
FLOAT* x = (FLOAT*) vx;
|
||||
FLOAT* y = (FLOAT*) vy;
|
||||
|
||||
FLOAT alpha_r = ALPHA[0];
|
||||
FLOAT alpha_i = ALPHA[1];
|
||||
|
||||
Reference in New Issue
Block a user