QUDA  v1.1.0
A library for QCD on GPUs
blas_magma.h
Go to the documentation of this file.
1 #ifndef _BLAS_MAGMA_H
2 #define _BLAS_MAGMA_H
3 
4 #include <cuda.h>
5 #include <cuda_runtime.h>
6 #include <string>
7 #include <complex>
8 #include <cuComplex.h>
9 #include <stdio.h>
10 #include <enum_quda.h>
11 
12 //MAGMA library interface
13 
14  //Initialization:
15  void OpenMagma();
16  //
17  void CloseMagma();
18 
28  void magma_Xgesv(void* sol, const int ldn, const int n, void* Mat, const int ldm, const int prec);
29 
41  void magma_Xgeev(void *Mat, const int n, const int ldm, void *vr, void *evalues, const int ldv, const int prec);
42 
52  void magma_Xgels(void *Mat, void *c, int rows, int cols, int ldm, const int prec);
53 
64  void magma_Xheev(void *Mat, const int n, const int ldm, void *evalues, const int prec);
65 
66 #endif // _BLAS_MAGMA_H
void magma_Xgels(void *Mat, void *c, int rows, int cols, int ldm, const int prec)
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 OpenMagma()
void magma_Xheev(void *Mat, const int n, const int ldm, void *evalues, const int prec)
QudaPrecision prec
void Mat(sFloat *out, gFloat **link, sFloat *in, int daggerBit, int mu)