QUDA v0.4.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 | hisq |
Defines | |
#define | DEVICEHOST __device__ __host__ |
#define | SVDPREC 1e-10 |
#define | LOG2 0.69314718055994530942 |
Functions | |
template<class Cmplx > | |
DEVICEHOST RealTypeId< Cmplx > ::Type | hisq::cabs (const Cmplx &z) |
template<class T , class U > | |
DEVICEHOST PromoteTypeId< T, U > ::Type | hisq::quadSum (const T &a, const U &b) |
DEVICEHOST float | hisq::getNorm (const Array< float2, 3 > &a) |
DEVICEHOST double | hisq::getNorm (const Array< double2, 3 > &a) |
template<class T > | |
DEVICEHOST void | hisq::constructHHMat (const T &tau, const Array< T, 3 > &v, Matrix< T, 3 > &hh) |
template<class Real > | |
DEVICEHOST void | hisq::getLambdaMax (const Matrix< Real, 3 > &b, Real &lambda_max) |
template<class Real > | |
DEVICEHOST void | hisq::getGivensRotation (const Real &alpha, const Real &beta, Real &c, Real &s) |
template<class Real > | |
DEVICEHOST void | hisq::accumGivensRotation (int index, const Real &c, const Real &s, Matrix< Real, 3 > &m) |
template<class Real > | |
DEVICEHOST void | hisq::assignGivensRotation (const Real &c, const Real &s, Matrix< Real, 2 > &m) |
template<class Real > | |
DEVICEHOST void | hisq::swap (Real &a, Real &b) |
template<class Real > | |
DEVICEHOST void | hisq::smallSVD (Matrix< Real, 2 > &u, Matrix< Real, 2 > &v, Matrix< Real, 2 > &m) |
template<class Cmplx > | |
DEVICEHOST void | hisq::getRealBidiagMatrix (const Matrix< Cmplx, 3 > &mat, Matrix< Cmplx, 3 > &u, Matrix< Cmplx, 3 > &v) |
template<class Real > | |
DEVICEHOST void | hisq::bdSVD (Matrix< Real, 3 > &u, Matrix< Real, 3 > &v, Matrix< Real, 3 > &b, int max_it) |
template<class Cmplx > | |
DEVICEHOST void | hisq::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.