imate
C++/CUDA Reference
|
#include "./cublas_symbols.h"
#include <cublas_api.h>
#include <cstdlib>
#include <sstream>
#include "./dynamic_loading.h"
Go to the source code of this file.
Functions | |
cublasStatus_t | cublasCreate_v2 (cublasHandle_t *handle) |
Definition of CUDA's cublasCreate function using dynamically loaded cublas library. More... | |
cublasStatus_t | cublasDestroy_v2 (cublasHandle_t handle) |
Definition of CUDA's cublasDestroy function using dynamically loaded cublas library. More... | |
cublasStatus_t | cublasSgemv_v2 (cublasHandle_t handle, cublasOperation_t trans, int m, int n, const float *alpha, const float *A, int lda, const float *x, int incx, const float *beta, float *y, int incy) |
Definition of CUDA's cublasSgemv function using dynamically loaded cublas library. More... | |
cublasStatus_t | cublasDgemv_v2 (cublasHandle_t handle, cublasOperation_t trans, int m, int n, const double *alpha, const double *A, int lda, const double *x, int incx, const double *beta, double *y, int incy) |
Definition of CUDA's cublasDgemv function using dynamically loaded cublas library. More... | |
cublasStatus_t | cublasScopy (cublasHandle_t handle, int n, const float *x, int incx, float *y, int incy) |
Definition of CUDA's cublasScopy function using dynamically loaded cublas library. More... | |
cublasStatus_t | cublasDcopy (cublasHandle_t handle, int n, const double *x, int incx, double *y, int incy) |
Definition of CUDA's cublasDcopy function using dynamically loaded cublas library. More... | |
cublasStatus_t | cublasSaxpy (cublasHandle_t handle, int n, const float *alpha, const float *x, int incx, float *y, int incy) |
Definition of CUDA's cublasSaxpy function using dynamically loaded cublas library. More... | |
cublasStatus_t | cublasDaxpy (cublasHandle_t handle, int n, const double *alpha, const double *x, int incx, double *y, int incy) |
Definition of CUDA's cublasDaxpy function using dynamically loaded cublas library. More... | |
cublasStatus_t | cublasSdot (cublasHandle_t handle, int n, const float *x, int incx, const float *y, int incy, float *result) |
Definition of CUDA's cublasSdot function using dynamically loaded cublas library. More... | |
cublasStatus_t | cublasDdot (cublasHandle_t handle, int n, const double *x, int incx, const double *y, int incy, double *result) |
Definition of CUDA's cublasDdot function using dynamically loaded cublas library. More... | |
cublasStatus_t | cublasSnrm2 (cublasHandle_t handle, int n, const float *x, int incx, float *result) |
Definition of CUDA's cublasSnrm2 function using dynamically loaded cublas library. More... | |
cublasStatus_t | cublasDnrm2 (cublasHandle_t handle, int n, const double *x, int incx, double *result) |
Definition of CUDA's cublasDnrm2 function using dynamically loaded cublas library. More... | |
cublasStatus_t | cublasSscal (cublasHandle_t handle, int n, const float *alpha, float *x, int incx) |
Definition of CUDA's cublasSscal function using dynamically loaded cublas library. More... | |
cublasStatus_t | cublasDscal (cublasHandle_t handle, int n, const double *alpha, double *x, int incx) |
Definition of CUDA's cublasDscal function using dynamically loaded cublas library. More... | |
cublasStatus_t cublasCreate_v2 | ( | cublasHandle_t * | handle | ) |
Definition of CUDA's cublasCreate
function using dynamically loaded cublas library.
Definition at line 97 of file cublas_symbols.cpp.
References cublasSymbols::cublasCreate, and cublasSymbols::get_lib_name().
cublasStatus_t cublasDaxpy | ( | cublasHandle_t | handle, |
int | n, | ||
const double * | alpha, | ||
const double * | x, | ||
int | incx, | ||
double * | y, | ||
int | incy | ||
) |
Definition of CUDA's cublasDaxpy
function using dynamically loaded cublas library.
Definition at line 308 of file cublas_symbols.cpp.
References cublasSymbols::cublasDaxpy, and cublasSymbols::get_lib_name().
Referenced by cublas_interface::cublasXaxpy< double >().
cublasStatus_t cublasDcopy | ( | cublasHandle_t | handle, |
int | n, | ||
const double * | x, | ||
int | incx, | ||
double * | y, | ||
int | incy | ||
) |
Definition of CUDA's cublasDcopy
function using dynamically loaded cublas library.
Definition at line 248 of file cublas_symbols.cpp.
References cublasSymbols::cublasDcopy, and cublasSymbols::get_lib_name().
Referenced by cublas_interface::cublasXcopy< double >().
cublasStatus_t cublasDdot | ( | cublasHandle_t | handle, |
int | n, | ||
const double * | x, | ||
int | incx, | ||
const double * | y, | ||
int | incy, | ||
double * | result | ||
) |
Definition of CUDA's cublasDdot
function using dynamically loaded cublas library.
Definition at line 370 of file cublas_symbols.cpp.
References cublasSymbols::cublasDdot, and cublasSymbols::get_lib_name().
Referenced by cublas_interface::cublasXdot< double >().
cublasStatus_t cublasDestroy_v2 | ( | cublasHandle_t | handle | ) |
Definition of CUDA's cublasDestroy
function using dynamically loaded cublas library.
Definition at line 122 of file cublas_symbols.cpp.
References cublasSymbols::cublasDestroy, and cublasSymbols::get_lib_name().
cublasStatus_t cublasDgemv_v2 | ( | cublasHandle_t | handle, |
cublasOperation_t | trans, | ||
int | m, | ||
int | n, | ||
const double * | alpha, | ||
const double * | A, | ||
int | lda, | ||
const double * | x, | ||
int | incx, | ||
const double * | beta, | ||
double * | y, | ||
int | incy | ||
) |
Definition of CUDA's cublasDgemv
function using dynamically loaded cublas library.
Definition at line 182 of file cublas_symbols.cpp.
References cublasSymbols::cublasDgemv, and cublasSymbols::get_lib_name().
cublasStatus_t cublasDnrm2 | ( | cublasHandle_t | handle, |
int | n, | ||
const double * | x, | ||
int | incx, | ||
double * | result | ||
) |
Definition of CUDA's cublasDnrm2
function using dynamically loaded cublas library.
Definition at line 430 of file cublas_symbols.cpp.
References cublasSymbols::cublasDnrm2, and cublasSymbols::get_lib_name().
Referenced by cublas_interface::cublasXnrm2< double >().
cublasStatus_t cublasDscal | ( | cublasHandle_t | handle, |
int | n, | ||
const double * | alpha, | ||
double * | x, | ||
int | incx | ||
) |
Definition of CUDA's cublasDscal
function using dynamically loaded cublas library.
Definition at line 488 of file cublas_symbols.cpp.
References cublasSymbols::cublasDscal, and cublasSymbols::get_lib_name().
Referenced by cublas_interface::cublasXscal< double >().
cublasStatus_t cublasSaxpy | ( | cublasHandle_t | handle, |
int | n, | ||
const float * | alpha, | ||
const float * | x, | ||
int | incx, | ||
float * | y, | ||
int | incy | ||
) |
Definition of CUDA's cublasSaxpy
function using dynamically loaded cublas library.
Definition at line 277 of file cublas_symbols.cpp.
References cublasSymbols::cublasSaxpy, and cublasSymbols::get_lib_name().
Referenced by cublas_interface::cublasXaxpy< float >().
cublasStatus_t cublasScopy | ( | cublasHandle_t | handle, |
int | n, | ||
const float * | x, | ||
int | incx, | ||
float * | y, | ||
int | incy | ||
) |
Definition of CUDA's cublasScopy
function using dynamically loaded cublas library.
Definition at line 219 of file cublas_symbols.cpp.
References cublasSymbols::cublasScopy, and cublasSymbols::get_lib_name().
Referenced by cublas_interface::cublasXcopy< float >().
cublasStatus_t cublasSdot | ( | cublasHandle_t | handle, |
int | n, | ||
const float * | x, | ||
int | incx, | ||
const float * | y, | ||
int | incy, | ||
float * | result | ||
) |
Definition of CUDA's cublasSdot
function using dynamically loaded cublas library.
Definition at line 339 of file cublas_symbols.cpp.
References cublasSymbols::cublasSdot, and cublasSymbols::get_lib_name().
Referenced by cublas_interface::cublasXdot< float >().
cublasStatus_t cublasSgemv_v2 | ( | cublasHandle_t | handle, |
cublasOperation_t | trans, | ||
int | m, | ||
int | n, | ||
const float * | alpha, | ||
const float * | A, | ||
int | lda, | ||
const float * | x, | ||
int | incx, | ||
const float * | beta, | ||
float * | y, | ||
int | incy | ||
) |
Definition of CUDA's cublasSgemv
function using dynamically loaded cublas library.
Definition at line 145 of file cublas_symbols.cpp.
References cublasSymbols::cublasSgemv, and cublasSymbols::get_lib_name().
cublasStatus_t cublasSnrm2 | ( | cublasHandle_t | handle, |
int | n, | ||
const float * | x, | ||
int | incx, | ||
float * | result | ||
) |
Definition of CUDA's cublasSnrm2
function using dynamically loaded cublas library.
Definition at line 401 of file cublas_symbols.cpp.
References cublasSymbols::cublasSnrm2, and cublasSymbols::get_lib_name().
Referenced by cublas_interface::cublasXnrm2< float >().
cublasStatus_t cublasSscal | ( | cublasHandle_t | handle, |
int | n, | ||
const float * | alpha, | ||
float * | x, | ||
int | incx | ||
) |
Definition of CUDA's cublasSscal
function using dynamically loaded cublas library.
Definition at line 459 of file cublas_symbols.cpp.
References cublasSymbols::cublasSscal, and cublasSymbols::get_lib_name().
Referenced by cublas_interface::cublasXscal< float >().