MAGMA  2.3.0
Matrix Algebra for GPU and Multicore Architectures
 All Classes Files Functions Friends Groups Pages

Convert MAGMA constants to NVIDIA cuBLAS constants. More...


cublasOperation_t cublas_trans_const (magma_trans_t magma_const)
cublasFillMode_t cublas_uplo_const (magma_uplo_t magma_const)
cublasDiagType_t cublas_diag_const (magma_diag_t magma_const)
cublasSideMode_t cublas_side_const (magma_side_t magma_const)

Detailed Description

Convert MAGMA constants to NVIDIA cuBLAS constants.

Available if HAVE_CUBLAS was defined when MAGMA was compiled. TODO: we do not currently provide inverse converters (cuBLAS => MAGMA).

Function Documentation

cublasOperation_t cublas_trans_const ( magma_trans_t  magma_const)
Return values
CUBLAS_OP_Nif magma_const = MagmaNoTrans
CUBLAS_OP_Tif magma_const = MagmaTrans
CUBLAS_OP_Cif magma_const = MagmaConjTrans
cublasFillMode_t cublas_uplo_const ( magma_uplo_t  magma_const)
Return values
CUBLAS_FILL_MODE_UPPERif magma_const = MagmaUpper
CUBLAS_FILL_MODE_LOWERif magma_const = MagmaLower
cublasDiagType_t cublas_diag_const ( magma_diag_t  magma_const)
Return values
CUBLAS_DIAG_NONUNITif magma_const = MagmaNonUnit
CUBLAS_DIAG_UNITif magma_const = MagmaUnit
cublasSideMode_t cublas_side_const ( magma_side_t  magma_const)
Return values
CUBLAS_SIDE_LEFTif magma_const = MagmaLeft
CUBLAS_SIDE_RIGHTif magma_const = MagmaRight