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

Convert MAGMA constants to CBLAS constants. More...


enum CBLAS_ORDER cblas_order_const (magma_order_t magma_const)
enum CBLAS_TRANSPOSE cblas_trans_const (magma_trans_t magma_const)
enum CBLAS_UPLO cblas_uplo_const (magma_uplo_t magma_const)
enum CBLAS_DIAG cblas_diag_const (magma_diag_t magma_const)
enum CBLAS_SIDE cblas_side_const (magma_side_t magma_const)

Detailed Description

Convert MAGMA constants to CBLAS constants.

Available if HAVE_CBLAS was defined when MAGMA was compiled. MAGMA constants have the same value as CBLAS constants, which these routines verify by asserts. TODO: we do not currently provide inverse converters (CBLAS => MAGMA), though it is a trivial cast since the values are the same.

Function Documentation

enum CBLAS_ORDER cblas_order_const ( magma_order_t  magma_const)
Return values
CblasRowMajorif magma_const = MagmaRowMajor
CblasColMajorif magma_const = MagmaColMajor
enum CBLAS_TRANSPOSE cblas_trans_const ( magma_trans_t  magma_const)
Return values
CblasNoTransif magma_const = MagmaNoTrans
CblasTransif magma_const = MagmaTrans
CblasConjTransif magma_const = MagmaConjTrans
enum CBLAS_UPLO cblas_uplo_const ( magma_uplo_t  magma_const)
Return values
CblasUpperif magma_const = MagmaUpper
CblasLowerif magma_const = MagmaLower
enum CBLAS_DIAG cblas_diag_const ( magma_diag_t  magma_const)
Return values
CblasNonUnitif magma_const = MagmaNonUnit
CblasUnitif magma_const = MagmaUnit
enum CBLAS_SIDE cblas_side_const ( magma_side_t  magma_const)
Return values
CblasLeftif magma_const = MagmaLeft
CblasRightif magma_const = MagmaRight