QUDA  v1.1.0
A library for QCD on GPUs
Functions
blas_magma.h File Reference
#include <cuda.h>
#include <cuda_runtime.h>
#include <string>
#include <complex>
#include <cuComplex.h>
#include <stdio.h>
#include <enum_quda.h>

Go to the source code of this file.

Functions

void OpenMagma ()
 
void CloseMagma ()
 
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 n, 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 n, const int ldm, void *evalues, const int prec)
 

Function Documentation

◆ CloseMagma()

void CloseMagma ( )

◆ magma_Xgeev()

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.

Parameters
MatMatrix field containing the input matrices on the CPU
nDimension of the problem
ldmMatrix leading dimension
vr(out) array containing right eigenvectors
evalues(out) array containing eigenvalues
ldvArray leading dimension
precMatrix precision

◆ magma_Xgels()

void magma_Xgels ( void *  Mat,
void *  c,
int  rows,
int  cols,
int  ldm,
const int  prec 
)

Solves the overdetermined (rows > = cols), least squares problem

Parameters
MatMatrix field containing the input matrices on the CPU
cArray containing source/solution vector
rowsNumber of rows of the matrix Mat
colsNumber of columns of the matrix Mat
ldmMatrix leading dimension
precMatrix precision

◆ magma_Xgesv()

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

Parameters
sol(in/out) array containing source (in). Overwritten by solution (out)
ldnArray leading dimension
nDimension of the problem
MatMatrix field containing the input matrices on the CPU
ldmMatrix leading dimension
precMatrix precision

◆ magma_Xheev()

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.

Parameters
MatMatrix field containing the input matrices on the CPU, and eigenvectors on exit
nDimension of the problem
ldmMatrix leading dimension
evalues(out) array containing eigenvalues
ldvArray leading dimension
precMatrix precision

◆ OpenMagma()

void OpenMagma ( )