6 bool cuda_SetDevice (
int device);
7 void cuda_EchoDeviceProperties ();
8 void cuda_Init (
int device);
19 CUSP_PRECON_SMOOTHED_AGGREGATION
22 void cuda_SetCuspPrecon (CuspPreconType precontp);
27 void cuda_Ax (
const float *A_val,
const int *A_rowptr,
28 const int *A_colidx,
int m,
int n,
const float *x,
float *b);
30 void cuda_Ax_cplx (
const scomplex *A_val,
const int *A_rowptr,
31 const int *A_colidx,
int m,
int n,
const scomplex *x, scomplex *b);
34 void cuda_CG (
const T *A_val,
const int *A_rowptr,
35 const int *A_colidx,
int m,
int n,
const T *b, T *x,
39 void cuda_CG (
const T *A_val,
const int *A_rowptr,
40 const int *A_colidx,
int m,
int n,
const T **b, T **x,
int nrhs,
44 void cuda_BiCGSTAB (
const T *A_val,
const int *A_rowptr,
45 const int *A_colidx,
int m,
int n,
const T *b, T *x,
49 void cuda_BiCGSTAB (
const T *A_val,
const int *A_rowptr,
50 const int *A_colidx,
int m,
int n,
const T **b, T **x,
int nrhs,
53 template<
class T,
class TR>
54 void cuda_BiCGSTAB_cplx (
const T *A_val,
const int *A_rowptr,
55 const int *A_colidx,
int m,
int n,
const T *b, T *x,
58 template<
class T,
class TR>
59 void cuda_BiCGSTAB_cplx (
const T *A_val,
const int *A_rowptr,
60 const int *A_colidx,
int m,
int n,
const T **b, T **x,
64 void Tstep_loop (
int n,
int nq,
int nm,
65 const T *K0_val,
const int *K0_rowptr,
const int *K0_colidx,
66 const T *K1_val,
const int *K1_rowptr,
const int *K1_colidx,
67 T **qvec_val, T **mvec_val, T *proj,
68 T tol,
int maxit,
int nstep);
70 #endif // !__TOASTCUDA_H
Definition: toastcuda.h:10