grain.cublas

cuBLAS wrappers

Members

Aliases

cublasHandle_t
alias cublasHandle_t = cublasContext*
cublasOperation_t
alias cublasOperation_t = int
cublasStatus_t
alias cublasStatus_t = int

TODO: make derelict-cublas (already exist?)

Enums

CUBLAS_OP_N
anonymousenum CUBLAS_OP_N
CUBLAS_STATUS_SUCCESS
anonymousenum CUBLAS_STATUS_SUCCESS

Functions

cublasCreate_v2
cublasStatus_t cublasCreate_v2(cublasHandle_t* )
cublasDaxpy_v2
cublasStatus_t cublasDaxpy_v2(cublasHandle_t handle, int n, double* alpha, double* x, int incx, double* y, int incy)
cublasDestroy_v2
cublasStatus_t cublasDestroy_v2(cublasHandle_t handle)
cublasDgemm_v2
cublasStatus_t cublasDgemm_v2(cublasHandle_t handle, cublasOperation_t transa, cublasOperation_t transb, int m, int n, int k, double* alpha, double* A, int lda, double* B, int ldb, double* beta, double* C, int ldc)
cublasGetErrorEnum
auto cublasGetErrorEnum(cublasStatus_t error)

emit error message string from enum

cublasSaxpy_v2
cublasStatus_t cublasSaxpy_v2(cublasHandle_t handle, int n, float* alpha, float* x, int incx, float* y, int incy)
cublasSgemm_v2
cublasStatus_t cublasSgemm_v2(cublasHandle_t handle, cublasOperation_t transa, cublasOperation_t transb, int m, int n, int k, float* alpha, float* A, int lda, float* B, int ldb, float* beta, float* C, int ldc)

Structs

cublasContext
struct cublasContext

Meta