18
19
20
24#include "../../blas/tools.hpp"
26namespace nda::lapack::device {
28 void gesvd(
char JOBU,
char JOBVT,
int M,
int N,
double *A,
int LDA,
double *S,
double *U,
int LDU,
double *VT,
int LDVT,
double *WORK,
int LWORK,
29 double *RWORK,
int &INFO);
30 void gesvd(
char JOBU,
char JOBVT,
int M,
int N, dcomplex *A,
int LDA,
double *S, dcomplex *U,
int LDU, dcomplex *VT,
int LDVT, dcomplex *WORK,
31 int LWORK,
double *RWORK,
int &INFO);
33 void getrf(
int M,
int N,
double *A,
int LDA,
int *ipiv,
int &info);
34 void getrf(
int M,
int N, dcomplex *A,
int LDA,
int *ipiv,
int &info);
36 void getri(
int N,
double *A,
int LDA,
int *ipiv,
double *WORK,
int LWORK,
int &info);
37 void getri(
int N, dcomplex *A,
int LDA,
int *ipiv, dcomplex *WORK,
int LWORK,
int &info);
39 void getrs(
char op,
int N,
int NRHS,
double const *A,
int LDA,
int const *ipiv,
double *B,
int LDB,
int &info);
40 void getrs(
char op,
int N,
int NRHS, dcomplex
const *A,
int LDA,
int const *ipiv, dcomplex *B,
int LDB,
int &info);
#define CUSOLVER_CHECK(X, info,...)
#define NDA_RUNTIME_ERROR