|
QUDA
v0.5.0
A library for QCD on GPUs
|
#include "quda_matrix.h"#include <iostream>#include <fstream>#include <string>#include <sstream>Go to the source code of this file.
Namespaces | |
| namespace | quda |
Macros | |
| #define | DEVICEHOST __device__ __host__ |
| #define | SVDPREC 1e-10 |
| #define | LOG2 0.69314718055994530942 |
Functions | |
| template<class Cmplx > | |
| DEVICEHOST RealTypeId< Cmplx > ::Type | quda::cabs (const Cmplx &z) |
| template<class T , class U > | |
| DEVICEHOST PromoteTypeId< T, U > ::Type | quda::quadSum (const T &a, const U &b) |
| DEVICEHOST float | quda::getNorm (const Array< float2, 3 > &a) |
| DEVICEHOST double | quda::getNorm (const Array< double2, 3 > &a) |
| template<class T > | |
| DEVICEHOST void | quda::constructHHMat (const T &tau, const Array< T, 3 > &v, Matrix< T, 3 > &hh) |
| template<class Real > | |
| DEVICEHOST void | quda::getLambdaMax (const Matrix< Real, 3 > &b, Real &lambda_max) |
| template<class Real > | |
| DEVICEHOST void | quda::getGivensRotation (const Real &alpha, const Real &beta, Real &c, Real &s) |
| template<class Real > | |
| DEVICEHOST void | quda::accumGivensRotation (int index, const Real &c, const Real &s, Matrix< Real, 3 > &m) |
| template<class Real > | |
| DEVICEHOST void | quda::assignGivensRotation (const Real &c, const Real &s, Matrix< Real, 2 > &m) |
| template<class Real > | |
| DEVICEHOST void | quda::swap (Real &a, Real &b) |
| template<class Real > | |
| DEVICEHOST void | quda::smallSVD (Matrix< Real, 2 > &u, Matrix< Real, 2 > &v, Matrix< Real, 2 > &m) |
| template<class Cmplx > | |
| DEVICEHOST void | quda::getRealBidiagMatrix (const Matrix< Cmplx, 3 > &mat, Matrix< Cmplx, 3 > &u, Matrix< Cmplx, 3 > &v) |
| template<class Real > | |
| DEVICEHOST void | quda::bdSVD (Matrix< Real, 3 > &u, Matrix< Real, 3 > &v, Matrix< Real, 3 > &b, int max_it) |
| template<class Cmplx > | |
| DEVICEHOST void | quda::computeSVD (const Matrix< Cmplx, 3 > &m, Matrix< Cmplx, 3 > &u, Matrix< Cmplx, 3 > &v, typename RealTypeId< Cmplx >::Type singular_values[3]) |
| #define DEVICEHOST __device__ __host__ |
Definition at line 11 of file svd_quda.h.
| #define LOG2 0.69314718055994530942 |
Definition at line 13 of file svd_quda.h.
| #define SVDPREC 1e-10 |
Definition at line 12 of file svd_quda.h.
1.8.2