imate
C++/CUDA Reference
cublas_interface.cu File Reference
Include dependency graph for cublas_interface.cu:

Go to the source code of this file.

Namespaces

 cublas_interface
 A collection of templates to wrapper cublas functions.
 

Functions

template<>
cublasStatus_t cublas_interface::cublasXgemv< float > (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)
 A template wrapper for cublasSgemv. More...
 
template<>
cublasStatus_t cublas_interface::cublasXgemv< double > (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)
 A template wrapper for cublasDgemv. More...
 
template<>
cublasStatus_t cublas_interface::cublasXcopy< float > (cublasHandle_t handle, int n, const float *x, int incx, float *y, int incy)
 A template wrapper for cublasScopy. More...
 
template<>
cublasStatus_t cublas_interface::cublasXcopy< double > (cublasHandle_t handle, int n, const double *x, int incx, double *y, int incy)
 A template wrapper for cublasDcopy. More...
 
template<>
cublasStatus_t cublas_interface::cublasXaxpy< float > (cublasHandle_t handle, int n, const float *alpha, const float *x, int incx, float *y, int incy)
 A template wrapper for cublasSaxpy. More...
 
template<>
cublasStatus_t cublas_interface::cublasXaxpy< double > (cublasHandle_t handle, int n, const double *alpha, const double *x, int incx, double *y, int incy)
 A template wrapper for cublasDaxpy. More...
 
template<>
cublasStatus_t cublas_interface::cublasXdot< float > (cublasHandle_t handle, int n, const float *x, int incx, const float *y, int incy, float *result)
 A template wrapper for cublasSdot. More...
 
template<>
cublasStatus_t cublas_interface::cublasXdot< double > (cublasHandle_t handle, int n, const double *x, int incx, const double *y, int incy, double *result)
 A template wrapper for cublasDdot. More...
 
template<>
cublasStatus_t cublas_interface::cublasXnrm2< float > (cublasHandle_t handle, int n, const float *x, int incx, float *result)
 A template wrapper to cublasSnrm2. More...
 
template<>
cublasStatus_t cublas_interface::cublasXnrm2< double > (cublasHandle_t handle, int n, const double *x, int incx, double *result)
 A template wrapper to cublasDnrm2. More...
 
template<>
cublasStatus_t cublas_interface::cublasXscal< float > (cublasHandle_t handle, int n, const float *alpha, float *x, int incx)
 A template wrapper for cublasSscal. More...
 
template<>
cublasStatus_t cublas_interface::cublasXscal< double > (cublasHandle_t handle, int n, const double *alpha, double *x, int incx)
 A template wrapper for cublasDscal. More...