QUDA
1.0.0
|
Go to the source code of this file.
Functions | |
void | magma_Xgesv (void *sol, const int ldn, const int n, void *Mat, const int ldm, const int prec) |
void | magma_Xgeev (void *Mat, const int m, const int ldm, void *vr, void *evalues, const int ldv, const int prec) |
void | magma_Xgels (void *Mat, void *c, int rows, int cols, int ldm, const int prec) |
void | magma_Xheev (void *Mat, const int m, const int ldm, void *evalues, const int prec) |
void | OpenMagma () |
void | CloseMagma () |
void CloseMagma | ( | ) |
Definition at line 323 of file blas_magma.cu.
References errorQuda.
Referenced by closeMagma().
void magma_Xgeev | ( | void * | Mat, |
const int | n, | ||
const int | ldm, | ||
void * | vr, | ||
void * | evalues, | ||
const int | ldv, | ||
const int | prec | ||
) |
Computes for an n-by-n complex nonsymmetric matrix Mat, the eigenvalues and right eigenvectors.
Mat | Matrix field containing the input matrices on the CPU |
n | Dimension of the problem |
ldm | Matrix leading dimension |
vr | (out) array containing right eigenvectors |
evalues | (out) array containing eigenvalues |
ldv | Array leading dimension |
prec | Matrix precision |
Definition at line 275 of file blas_magma.cu.
References errorQuda, and Mat().
Referenced by quda::ComputeHarmonicRitz< libtype::magma_lib >().
void magma_Xgels | ( | void * | Mat, |
void * | c, | ||
int | rows, | ||
int | cols, | ||
int | ldm, | ||
const int | prec | ||
) |
Solves the overdetermined (rows > = cols), least squares problem
Mat | Matrix field containing the input matrices on the CPU |
c | Array containing source/solution vector |
rows | Number of rows of the matrix Mat |
cols | Number of columns of the matrix Mat |
ldm | Matrix leading dimension |
prec | Matrix precision |
Definition at line 286 of file blas_magma.cu.
References errorQuda, and Mat().
Referenced by quda::ComputeEta< libtype::magma_lib >().
void magma_Xgesv | ( | void * | sol, |
const int | ldn, | ||
const int | n, | ||
void * | Mat, | ||
const int | ldm, | ||
const int | prec | ||
) |
Solves a system of linear equations
sol | (in/out) array containing source (in). Overwritten by solution (out) |
ldn | Array leading dimension |
n | Dimension of the problem |
Mat | Matrix field containing the input matrices on the CPU |
ldm | Matrix leading dimension |
prec | Matrix precision |
Definition at line 265 of file blas_magma.cu.
References errorQuda, and Mat().
Referenced by quda::ComputeHarmonicRitz< libtype::magma_lib >(), and quda::Deflation::operator()().
void magma_Xheev | ( | void * | Mat, |
const int | n, | ||
const int | ldm, | ||
void * | evalues, | ||
const int | prec | ||
) |
Computes for an n-by-n complex symmetric matrix Mat, the eigenvalues and eigenvectors.
Mat | Matrix field containing the input matrices on the CPU, and eigenvectors on exit |
n | Dimension of the problem |
ldm | Matrix leading dimension |
evalues | (out) array containing eigenvalues |
ldv | Array leading dimension |
prec | Matrix precision |
Definition at line 296 of file blas_magma.cu.
References errorQuda, and Mat().
Referenced by quda::ComputeRitz< libtype::magma_lib >(), quda::Deflation::reduce(), and quda::Deflation::verify().
void OpenMagma | ( | ) |
Definition at line 307 of file blas_magma.cu.
References errorQuda, getVerbosity(), printfQuda, and QUDA_VERBOSE.
Referenced by openMagma().