Classes | |
struct | Data |
class | TextureMatrix |
Public Member Functions | |
void | trsm (char side, char uplo, char transa, char diag, int m, int n, float alpha, const float *A, int lda, float *B, int ldb) |
void | trsm (char side, char uplo, char transa, char diag, int m, int n, double alpha, const double *A, int lda, double *B, int ldb) |
Static Public Member Functions | |
static std::string | name () |
static void | check_status (const cublasStatus &status) |
static void | Init () |
static void | Shutdown () |
template<typename T > | |
static void | SetMatrix (int rows, int cols, const T *const &A, int lda, T *&B, int ldb) |
template<typename T > | |
static void | GetMatrix (int rows, int cols, const T *const &A, int lda, T *&B, int ldb) |
template<typename T > | |
static void | SetVector (int n_el, const T *const src, int inc_src, T *dst, int inc_dst) |
template<typename T > | |
static void | GetVector (int n_el, const T *const &A, int inc_src, T *&B, int inc_dst) |
static float | asum (int n, const float *x, int incx) |
static double | asum (int n, const double *x, int incx) |
static float | asum (int n, const cuComplex *x, int incx) |
static double | asum (int n, const cuDoubleComplex *x, int incx) |
static void | axpy (int n, float alpha, const float *x, int incx, float *y, int incy) |
static void | axpy (int n, double alpha, const double *x, int incx, double *y, int incy) |
static void | axpy (int n, cuComplex alpha, const cuComplex *x, int incx, cuComplex *y, int incy) |
static void | axpy (int n, cuDoubleComplex alpha, const cuDoubleComplex *x, int incx, cuDoubleComplex *y, int incy) |
static void | copy (int n, const float *x, int incx, float *y, int incy) |
static void | copy (int n, const double *x, int incx, double *y, int incy) |
static void | copy (int n, const cuComplex *x, int incx, cuComplex *y, int incy) |
static void | copy (int n, const cuDoubleComplex *x, int incx, cuDoubleComplex *y, int incy) |
static void | scal (int n, float alpha, float *x, int incx) |
static void | scal (int n, double alpha, double *x, int incx) |
static void | scal (int n, cuComplex alpha, cuComplex *x, int incx) |
static void | scal (int n, cuDoubleComplex alpha, cuDoubleComplex *x, int incx) |
static void | gemv (char trans, int m, int n, float alpha, const float *const A, int lda, const float *const x, int incx, float beta, float *y, int incy) |
static void | gemv (char trans, int m, int n, double alpha, const double *const A, int lda, const double *const x, int incx, double beta, double *y, int incy) |
static void | ger (int m, int n, float alpha, const float *x, int incx, const float *y, int incy, float *A, int lda) |
static void | ger (int m, int n, double alpha, const double *x, int incx, const double *y, int incy, double *A, int lda) |
static void | gemm (char transa, char transb, int m, int n, int k, float alpha, const float *const A, int lda, const float *const B, int ldb, float beta, float *C, int ldc) |
static void | gemm (char transa, char transb, int m, int n, int k, double alpha, const double *const A, int lda, const double *const B, int ldb, double beta, double *C, int ldc) |
static float | nrm2 (int n, const float *x, int incx) |
static double | nrm2 (int n, const double *x, int incx) |
static cuComplex | nrm2 (int n, const cuComplex *x, int incx) |
static cuDoubleComplex | nrm2 (int n, const cuDoubleComplex *x, int incx) |
static float | dot (int n, const float *x, int incx, const float *y, int incy) |
static double | dot (int n, const double *x, int incx, const double *y, int incy) |
static cuComplex | dot (int n, const cuComplex *x, int incx, const cuComplex *y, int incy) |
static cuDoubleComplex | dot (int n, const cuDoubleComplex *x, int incx, const cuDoubleComplex *y, int incy) |
static cuComplex | dotu (int n, const cuComplex *x, int incx, const cuComplex *y, int incy) |
static cuDoubleComplex | dotu (int n, const cuDoubleComplex *x, int incx, const cuDoubleComplex *y, int incy) |
static cuComplex | dotc (int n, const cuComplex *x, int incx, const cuComplex *y, int incy) |
static cuDoubleComplex | dotc (int n, const cuDoubleComplex *x, int incx, const cuDoubleComplex *y, int incy) |
Static Private Member Functions | |
template<typename T > | |
static void | Alloc (T *&dev_ptr, size_t n) |
template<typename T > | |
static void | Free (T *&dev_ptr) |
static std::string cublas::name | ( | ) | [inline, static] |
static void cublas::check_status | ( | const cublasStatus & | status | ) | [inline, static] |
Referenced by cublas::Data< T >::alloc(), asum(), axpy(), copy(), dot(), dotc(), dotu(), cublas::Data< T >::free_dev_ptr(), gemm(), gemv(), ger(), GetMatrix(), GetVector(), nrm2(), scal(), SetMatrix(), SetVector(), and trsm().
static void cublas::Init | ( | ) | [inline, static] |
static void cublas::Shutdown | ( | ) | [inline, static] |
static void cublas::Alloc | ( | T *& | dev_ptr, | |
size_t | n | |||
) | [inline, static, private] |
static void cublas::Free | ( | T *& | dev_ptr | ) | [inline, static, private] |
static void cublas::SetMatrix | ( | int | rows, | |
int | cols, | |||
const T *const & | A, | |||
int | lda, | |||
T *& | B, | |||
int | ldb | |||
) | [inline, static] |
References check_status().
static void cublas::GetMatrix | ( | int | rows, | |
int | cols, | |||
const T *const & | A, | |||
int | lda, | |||
T *& | B, | |||
int | ldb | |||
) | [inline, static] |
References check_status().
static void cublas::SetVector | ( | int | n_el, | |
const T *const | src, | |||
int | inc_src, | |||
T * | dst, | |||
int | inc_dst | |||
) | [inline, static] |
References check_status().
static void cublas::GetVector | ( | int | n_el, | |
const T *const & | A, | |||
int | inc_src, | |||
T *& | B, | |||
int | inc_dst | |||
) | [inline, static] |
References check_status().
static float cublas::asum | ( | int | n, | |
const float * | x, | |||
int | incx | |||
) | [inline, static] |
References check_status().
static double cublas::asum | ( | int | n, | |
const double * | x, | |||
int | incx | |||
) | [inline, static] |
References check_status().
static float cublas::asum | ( | int | n, | |
const cuComplex * | x, | |||
int | incx | |||
) | [inline, static] |
References check_status().
static double cublas::asum | ( | int | n, | |
const cuDoubleComplex * | x, | |||
int | incx | |||
) | [inline, static] |
References check_status().
static void cublas::axpy | ( | int | n, | |
float | alpha, | |||
const float * | x, | |||
int | incx, | |||
float * | y, | |||
int | incy | |||
) | [inline, static] |
References check_status().
static void cublas::axpy | ( | int | n, | |
double | alpha, | |||
const double * | x, | |||
int | incx, | |||
double * | y, | |||
int | incy | |||
) | [inline, static] |
References check_status().
static void cublas::axpy | ( | int | n, | |
cuComplex | alpha, | |||
const cuComplex * | x, | |||
int | incx, | |||
cuComplex * | y, | |||
int | incy | |||
) | [inline, static] |
References check_status().
static void cublas::axpy | ( | int | n, | |
cuDoubleComplex | alpha, | |||
const cuDoubleComplex * | x, | |||
int | incx, | |||
cuDoubleComplex * | y, | |||
int | incy | |||
) | [inline, static] |
References check_status().
static void cublas::copy | ( | int | n, | |
const float * | x, | |||
int | incx, | |||
float * | y, | |||
int | incy | |||
) | [inline, static] |
References check_status().
static void cublas::copy | ( | int | n, | |
const double * | x, | |||
int | incx, | |||
double * | y, | |||
int | incy | |||
) | [inline, static] |
References check_status().
static void cublas::copy | ( | int | n, | |
const cuComplex * | x, | |||
int | incx, | |||
cuComplex * | y, | |||
int | incy | |||
) | [inline, static] |
References check_status().
static void cublas::copy | ( | int | n, | |
const cuDoubleComplex * | x, | |||
int | incx, | |||
cuDoubleComplex * | y, | |||
int | incy | |||
) | [inline, static] |
References check_status().
static void cublas::scal | ( | int | n, | |
float | alpha, | |||
float * | x, | |||
int | incx | |||
) | [inline, static] |
References check_status().
static void cublas::scal | ( | int | n, | |
double | alpha, | |||
double * | x, | |||
int | incx | |||
) | [inline, static] |
References check_status().
static void cublas::scal | ( | int | n, | |
cuComplex | alpha, | |||
cuComplex * | x, | |||
int | incx | |||
) | [inline, static] |
References check_status().
static void cublas::scal | ( | int | n, | |
cuDoubleComplex | alpha, | |||
cuDoubleComplex * | x, | |||
int | incx | |||
) | [inline, static] |
References check_status().
static void cublas::gemv | ( | char | trans, | |
int | m, | |||
int | n, | |||
float | alpha, | |||
const float *const | A, | |||
int | lda, | |||
const float *const | x, | |||
int | incx, | |||
float | beta, | |||
float * | y, | |||
int | incy | |||
) | [inline, static] |
References check_status().
static void cublas::gemv | ( | char | trans, | |
int | m, | |||
int | n, | |||
double | alpha, | |||
const double *const | A, | |||
int | lda, | |||
const double *const | x, | |||
int | incx, | |||
double | beta, | |||
double * | y, | |||
int | incy | |||
) | [inline, static] |
References check_status().
static void cublas::ger | ( | int | m, | |
int | n, | |||
float | alpha, | |||
const float * | x, | |||
int | incx, | |||
const float * | y, | |||
int | incy, | |||
float * | A, | |||
int | lda | |||
) | [inline, static] |
References check_status().
static void cublas::ger | ( | int | m, | |
int | n, | |||
double | alpha, | |||
const double * | x, | |||
int | incx, | |||
const double * | y, | |||
int | incy, | |||
double * | A, | |||
int | lda | |||
) | [inline, static] |
References check_status().
static void cublas::gemm | ( | char | transa, | |
char | transb, | |||
int | m, | |||
int | n, | |||
int | k, | |||
float | alpha, | |||
const float *const | A, | |||
int | lda, | |||
const float *const | B, | |||
int | ldb, | |||
float | beta, | |||
float * | C, | |||
int | ldc | |||
) | [inline, static] |
References check_status().
static void cublas::gemm | ( | char | transa, | |
char | transb, | |||
int | m, | |||
int | n, | |||
int | k, | |||
double | alpha, | |||
const double *const | A, | |||
int | lda, | |||
const double *const | B, | |||
int | ldb, | |||
double | beta, | |||
double * | C, | |||
int | ldc | |||
) | [inline, static] |
References check_status().
static float cublas::nrm2 | ( | int | n, | |
const float * | x, | |||
int | incx | |||
) | [inline, static] |
References check_status().
static double cublas::nrm2 | ( | int | n, | |
const double * | x, | |||
int | incx | |||
) | [inline, static] |
References check_status().
static cuComplex cublas::nrm2 | ( | int | n, | |
const cuComplex * | x, | |||
int | incx | |||
) | [inline, static] |
References dotc().
static cuDoubleComplex cublas::nrm2 | ( | int | n, | |
const cuDoubleComplex * | x, | |||
int | incx | |||
) | [inline, static] |
References dotc().
static float cublas::dot | ( | int | n, | |
const float * | x, | |||
int | incx, | |||
const float * | y, | |||
int | incy | |||
) | [inline, static] |
References check_status().
static double cublas::dot | ( | int | n, | |
const double * | x, | |||
int | incx, | |||
const double * | y, | |||
int | incy | |||
) | [inline, static] |
References check_status().
static cuComplex cublas::dot | ( | int | n, | |
const cuComplex * | x, | |||
int | incx, | |||
const cuComplex * | y, | |||
int | incy | |||
) | [inline, static] |
References dotc().
static cuDoubleComplex cublas::dot | ( | int | n, | |
const cuDoubleComplex * | x, | |||
int | incx, | |||
const cuDoubleComplex * | y, | |||
int | incy | |||
) | [inline, static] |
References dotc().
static cuComplex cublas::dotu | ( | int | n, | |
const cuComplex * | x, | |||
int | incx, | |||
const cuComplex * | y, | |||
int | incy | |||
) | [inline, static] |
References check_status().
static cuDoubleComplex cublas::dotu | ( | int | n, | |
const cuDoubleComplex * | x, | |||
int | incx, | |||
const cuDoubleComplex * | y, | |||
int | incy | |||
) | [inline, static] |
References check_status().
static cuComplex cublas::dotc | ( | int | n, | |
const cuComplex * | x, | |||
int | incx, | |||
const cuComplex * | y, | |||
int | incy | |||
) | [inline, static] |
static cuDoubleComplex cublas::dotc | ( | int | n, | |
const cuDoubleComplex * | x, | |||
int | incx, | |||
const cuDoubleComplex * | y, | |||
int | incy | |||
) | [inline, static] |
References check_status().
void cublas::trsm | ( | char | side, | |
char | uplo, | |||
char | transa, | |||
char | diag, | |||
int | m, | |||
int | n, | |||
float | alpha, | |||
const float * | A, | |||
int | lda, | |||
float * | B, | |||
int | ldb | |||
) | [inline] |
References check_status().
void cublas::trsm | ( | char | side, | |
char | uplo, | |||
char | transa, | |||
char | diag, | |||
int | m, | |||
int | n, | |||
double | alpha, | |||
const double * | A, | |||
int | lda, | |||
double * | B, | |||
int | ldb | |||
) | [inline] |
References check_status().