MAGMA  magma-1.4.0
Matrix Algebra on GPU and Multicore Architectures
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
magma_types.h File Reference
#include <stdint.h>
#include <assert.h>
Include dependency graph for magma_types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MAGMA_Z_EQUAL(a, b)   (MAGMA_Z_REAL(a)==MAGMA_Z_REAL(b) && MAGMA_Z_IMAG(a)==MAGMA_Z_IMAG(b))
 
#define MAGMA_Z_NEGATE(a)   MAGMA_Z_MAKE( -MAGMA_Z_REAL(a), -MAGMA_Z_IMAG(a))
 
#define MAGMA_C_EQUAL(a, b)   (MAGMA_C_REAL(a)==MAGMA_C_REAL(b) && MAGMA_C_IMAG(a)==MAGMA_C_IMAG(b))
 
#define MAGMA_C_NEGATE(a)   MAGMA_C_MAKE( -MAGMA_C_REAL(a), -MAGMA_C_IMAG(a))
 
#define MAGMA_D_MAKE(r, i)   (r)
 
#define MAGMA_D_REAL(x)   (x)
 
#define MAGMA_D_IMAG(x)   (0.0)
 
#define MAGMA_D_SET2REAL(a, r)   (a) = (r)
 
#define MAGMA_D_ADD(a, b)   ((a) + (b))
 
#define MAGMA_D_SUB(a, b)   ((a) - (b))
 
#define MAGMA_D_MUL(a, b)   ((a) * (b))
 
#define MAGMA_D_DIV(a, b)   ((a) / (b))
 
#define MAGMA_D_ABS(a)   ((a)>0?(a):-(a))
 
#define MAGMA_D_CNJG(a)   (a)
 
#define MAGMA_D_EQUAL(a, b)   ((a) == (b))
 
#define MAGMA_D_NEGATE(a)   (-a)
 
#define MAGMA_D_DSCALE(v, t, s)   (v) = (t)/(s)
 
#define MAGMA_S_MAKE(r, i)   (r)
 
#define MAGMA_S_REAL(x)   (x)
 
#define MAGMA_S_IMAG(x)   (0.0)
 
#define MAGMA_S_SET2REAL(a, r)   (a) = (r)
 
#define MAGMA_S_ADD(a, b)   ((a) + (b))
 
#define MAGMA_S_SUB(a, b)   ((a) - (b))
 
#define MAGMA_S_MUL(a, b)   ((a) * (b))
 
#define MAGMA_S_DIV(a, b)   ((a) / (b))
 
#define MAGMA_S_ABS(a)   ((a)>0?(a):-(a))
 
#define MAGMA_S_CNJG(a)   (a)
 
#define MAGMA_S_EQUAL(a, b)   ((a) == (b))
 
#define MAGMA_S_NEGATE(a)   (-a)
 
#define MAGMA_S_SSCALE(v, t, s)   (v) = (t)/(s)
 
#define MAGMA_Z_ZERO   MAGMA_Z_MAKE( 0.0, 0.0)
 
#define MAGMA_Z_ONE   MAGMA_Z_MAKE( 1.0, 0.0)
 
#define MAGMA_Z_HALF   MAGMA_Z_MAKE( 0.5, 0.0)
 
#define MAGMA_Z_NEG_ONE   MAGMA_Z_MAKE(-1.0, 0.0)
 
#define MAGMA_Z_NEG_HALF   MAGMA_Z_MAKE(-0.5, 0.0)
 
#define MAGMA_C_ZERO   MAGMA_C_MAKE( 0.0, 0.0)
 
#define MAGMA_C_ONE   MAGMA_C_MAKE( 1.0, 0.0)
 
#define MAGMA_C_HALF   MAGMA_C_MAKE( 0.5, 0.0)
 
#define MAGMA_C_NEG_ONE   MAGMA_C_MAKE(-1.0, 0.0)
 
#define MAGMA_C_NEG_HALF   MAGMA_C_MAKE(-0.5, 0.0)
 
#define MAGMA_D_ZERO   ( 0.0)
 
#define MAGMA_D_ONE   ( 1.0)
 
#define MAGMA_D_HALF   ( 0.5)
 
#define MAGMA_D_NEG_ONE   (-1.0)
 
#define MAGMA_D_NEG_HALF   (-0.5)
 
#define MAGMA_S_ZERO   ( 0.0)
 
#define MAGMA_S_ONE   ( 1.0)
 
#define MAGMA_S_HALF   ( 0.5)
 
#define MAGMA_S_NEG_ONE   (-1.0)
 
#define MAGMA_S_NEG_HALF   (-0.5)
 
#define CBLAS_SADDR(a)   &(a)
 
#define MAGMA_VERSION_MAJOR   1
 
#define MAGMA_VERSION_MINOR   4
 
#define MAGMA_VERSION_MICRO   0
 
#define MAGMA_VERSION_STAGE   ""
 
#define MagmaMaxGPUs   8
 
#define MAGMA_SUCCESS   0
 
#define MAGMA_ERR   -100
 
#define MAGMA_ERR_NOT_INITIALIZED   -101
 
#define MAGMA_ERR_REINITIALIZED   -102
 
#define MAGMA_ERR_NOT_SUPPORTED   -103
 
#define MAGMA_ERR_ILLEGAL_VALUE   -104
 
#define MAGMA_ERR_NOT_FOUND   -105
 
#define MAGMA_ERR_ALLOCATION   -106
 
#define MAGMA_ERR_INTERNAL_LIMIT   -107
 
#define MAGMA_ERR_UNALLOCATED   -108
 
#define MAGMA_ERR_FILESYSTEM   -109
 
#define MAGMA_ERR_UNEXPECTED   -110
 
#define MAGMA_ERR_SEQUENCE_FLUSHED   -111
 
#define MAGMA_ERR_HOST_ALLOC   -112
 
#define MAGMA_ERR_DEVICE_ALLOC   -113
 
#define MAGMA_ERR_CUDASTREAM   -114
 
#define MAGMA_ERR_INVALID_PTR   -115
 
#define MAGMA_ERR_UNKNOWN   -116
 
#define MagmaRowMajor   'R' /* 101 */
 
#define MagmaColMajor   'C' /* 102 */
 
#define MagmaNoTrans   'N' /* 111 */
 
#define MagmaTrans   'T' /* 112 */
 
#define MagmaConjTrans   'C' /* 113 */
 
#define MagmaUpper   'U' /* 121 */
 
#define MagmaLower   'L' /* 122 */
 
#define MagmaUpperLower   'F' /* 123 */
 
#define MagmaFull   'F' /* 123 */
 
#define MagmaNonUnit   'N' /* 131 */
 
#define MagmaUnit   'U' /* 132 */
 
#define MagmaLeft   'L' /* 141 */
 
#define MagmaRight   'R' /* 142 */
 
#define MagmaOneNorm   '1' /* 171 */
 
#define MagmaRealOneNorm   172
 
#define MagmaTwoNorm   '2' /* 173 */
 
#define MagmaFrobeniusNorm   'F' /* 174 */
 
#define MagmaInfNorm   'I' /* 175 */
 
#define MagmaRealInfNorm   176
 
#define MagmaMaxNorm   'M' /* 177 */
 
#define MagmaRealMaxNorm   178
 
#define MagmaDistUniform   201
 
#define MagmaDistSymmetric   202
 
#define MagmaDistNormal   203
 
#define MagmaHermGeev   241
 
#define MagmaHermPoev   242
 
#define MagmaNonsymPosv   243
 
#define MagmaSymPosv   244
 
#define MagmaNoPacking   291
 
#define MagmaPackSubdiag   292
 
#define MagmaPackSupdiag   293
 
#define MagmaPackColumn   294
 
#define MagmaPackRow   295
 
#define MagmaPackLowerBand   296
 
#define MagmaPackUpeprBand   297
 
#define MagmaPackAll   298
 
#define MagmaNoVec   'N' /* 301 */ /* geev, syev, gesvd */
 
#define MagmaVec   'V' /* 302 */ /* geev, syev */
 
#define MagmaIvec   'I' /* 303 */ /* stedc */
 
#define MagmaAllVec   'A' /* 304 */ /* gesvd */
 
#define MagmaSomeVec   'S' /* 305 */ /* gesvd */
 
#define MagmaOverwriteVec   'O' /* 306 */ /* gesvd */
 
#define MagmaForward   'F' /* 391 */ /* larfb */
 
#define MagmaBackward   'B' /* 392 */ /* larfb */
 
#define MagmaColumnwise   'C' /* 401 */ /* larfb */
 
#define MagmaRowwise   'R' /* 402 */ /* larfb */
 
#define Magma_CSR   411
 
#define Magma_ELLPACK   412
 
#define Magma_ELLPACKT   413
 
#define Magma_DENSE   414
 
#define Magma_BCSR   415
 
#define Magma_CPU   421
 
#define Magma_DEV   422
 
#define Magma_CG   431
 
#define Magma_GMRES   432
 
#define Magma_BICGSTAB   433
 
#define Magma_JACOBI   434
 
#define Magma_GS   435
 
#define Magma_DCOMPLEX   451
 
#define Magma_FCOMPLEX   452
 
#define Magma_DOUBLE   453
 
#define Magma_FLOAT   454
 
#define MagmaMinConst   101
 
#define MagmaMaxConst   435
 
#define MagmaRowMajorStr   "Row"
 
#define MagmaColMajorStr   "Col"
 
#define MagmaNoTransStr   "NoTrans"
 
#define MagmaTransStr   "Trans"
 
#define MagmaConjTransStr   "ConjTrans"
 
#define MagmaUpperStr   "Upper"
 
#define MagmaLowerStr   "Lower"
 
#define MagmaUpperLowerStr   "Full"
 
#define MagmaFullStr   "Full"
 
#define MagmaNonUnitStr   "NonUnit"
 
#define MagmaUnitStr   "Unit"
 
#define MagmaLeftStr   "Left"
 
#define MagmaRightStr   "Right"
 
#define MagmaForwardStr   "Forward"
 
#define MagmaBackwardStr   "Backward"
 
#define MagmaColumnwiseStr   "Columnwise"
 
#define MagmaRowwiseStr   "Rowwise"
 
#define MagmaNoVecStr   "NoVec"
 
#define MagmaVecStr   "Vec"
 
#define MagmaIVecStr   "IVec"
 
#define MagmaAllVecStr   "All"
 
#define MagmaSomeVecStr   "Some"
 
#define MagmaOverwriteVecStr   "Overwrite"
 

Typedefs

typedef int magma_int_t
 
typedef int magma_err_t
 
typedef double real_Double_t
 
typedef void * magma_ptr
 
typedef magma_int_tmagmaInt_ptr
 
typedef float * magmaFloat_ptr
 
typedef double * magmaDouble_ptr
 
typedef magmaFloatComplex * magmaFloatComplex_ptr
 
typedef magmaDoubleComplex * magmaDoubleComplex_ptr
 
typedef void const * magma_const_ptr
 
typedef magma_int_t const * magmaInt_const_ptr
 
typedef float const * magmaFloat_const_ptr
 
typedef double const * magmaDouble_const_ptr
 
typedef magmaFloatComplex const * magmaFloatComplex_const_ptr
 
typedef magmaDoubleComplex const * magmaDoubleComplex_const_ptr
 
typedef char magma_major_t
 
typedef char magma_trans_t
 
typedef char magma_uplo_t
 
typedef char magma_diag_t
 
typedef char magma_side_t
 
typedef char magma_norm_t
 
typedef char magma_dist_t
 
typedef char magma_pack_t
 
typedef char magma_vec_t
 
typedef char magma_direct_t
 
typedef char magma_storev_t
 
typedef int magma_storage_t
 
typedef int magma_location_t
 
typedef int magma_precond_type
 
typedef int magma_precision
 

Functions

magma_trans_t magma_trans_const (char lapack_char)
 
magma_uplo_t magma_uplo_const (char lapack_char)
 
magma_diag_t magma_diag_const (char lapack_char)
 
magma_side_t magma_side_const (char lapack_char)
 
magma_norm_t magma_norm_const (char lapack_char)
 
magma_dist_t magma_dist_const (char lapack_char)
 
magma_pack_t magma_pack_const (char lapack_char)
 
magma_vec_t magma_vec_const (char lapack_char)
 
magma_direct_t magma_direct_const (char lapack_char)
 
magma_storev_t magma_storev_const (char lapack_char)
 
char lapacke_const (int magma_const)
 
const char * lapack_const (int magma_const)
 
static int cblas_const (int magma_const)
 

Macro Definition Documentation

#define CBLAS_SADDR (   a)    &(a)

Definition at line 208 of file magma_types.h.

#define Magma_BCSR   415

Definition at line 351 of file magma_types.h.

#define Magma_BICGSTAB   433

Definition at line 358 of file magma_types.h.

#define MAGMA_C_EQUAL (   a,
 
)    (MAGMA_C_REAL(a)==MAGMA_C_REAL(b) && MAGMA_C_IMAG(a)==MAGMA_C_IMAG(b))

Definition at line 152 of file magma_types.h.

#define MAGMA_C_HALF   MAGMA_C_MAKE( 0.5, 0.0)

Definition at line 191 of file magma_types.h.

#define MAGMA_C_NEG_HALF   MAGMA_C_MAKE(-0.5, 0.0)

Definition at line 193 of file magma_types.h.

#define MAGMA_C_NEG_ONE   MAGMA_C_MAKE(-1.0, 0.0)

Definition at line 192 of file magma_types.h.

#define MAGMA_C_NEGATE (   a)    MAGMA_C_MAKE( -MAGMA_C_REAL(a), -MAGMA_C_IMAG(a))

Definition at line 153 of file magma_types.h.

#define MAGMA_C_ONE   MAGMA_C_MAKE( 1.0, 0.0)

Definition at line 190 of file magma_types.h.

#define MAGMA_C_ZERO   MAGMA_C_MAKE( 0.0, 0.0)

Definition at line 189 of file magma_types.h.

#define Magma_CG   431

Definition at line 356 of file magma_types.h.

#define Magma_CPU   421

Definition at line 353 of file magma_types.h.

#define Magma_CSR   411

Definition at line 347 of file magma_types.h.

#define MAGMA_D_ABS (   a)    ((a)>0?(a):-(a))

Definition at line 163 of file magma_types.h.

#define MAGMA_D_ADD (   a,
 
)    ((a) + (b))

Definition at line 159 of file magma_types.h.

#define MAGMA_D_CNJG (   a)    (a)

Definition at line 164 of file magma_types.h.

#define MAGMA_D_DIV (   a,
 
)    ((a) / (b))

Definition at line 162 of file magma_types.h.

#define MAGMA_D_DSCALE (   v,
  t,
 
)    (v) = (t)/(s)

Definition at line 167 of file magma_types.h.

#define MAGMA_D_EQUAL (   a,
 
)    ((a) == (b))

Definition at line 165 of file magma_types.h.

#define MAGMA_D_HALF   ( 0.5)

Definition at line 197 of file magma_types.h.

#define MAGMA_D_IMAG (   x)    (0.0)

Definition at line 157 of file magma_types.h.

#define MAGMA_D_MAKE (   r,
 
)    (r)

Definition at line 155 of file magma_types.h.

#define MAGMA_D_MUL (   a,
 
)    ((a) * (b))

Definition at line 161 of file magma_types.h.

#define MAGMA_D_NEG_HALF   (-0.5)

Definition at line 199 of file magma_types.h.

#define MAGMA_D_NEG_ONE   (-1.0)

Definition at line 198 of file magma_types.h.

#define MAGMA_D_NEGATE (   a)    (-a)

Definition at line 166 of file magma_types.h.

#define MAGMA_D_ONE   ( 1.0)

Definition at line 196 of file magma_types.h.

#define MAGMA_D_REAL (   x)    (x)

Definition at line 156 of file magma_types.h.

#define MAGMA_D_SET2REAL (   a,
 
)    (a) = (r)

Definition at line 158 of file magma_types.h.

#define MAGMA_D_SUB (   a,
 
)    ((a) - (b))

Definition at line 160 of file magma_types.h.

#define MAGMA_D_ZERO   ( 0.0)

Definition at line 195 of file magma_types.h.

#define Magma_DCOMPLEX   451

Definition at line 362 of file magma_types.h.

#define Magma_DENSE   414

Definition at line 350 of file magma_types.h.

#define Magma_DEV   422

Definition at line 354 of file magma_types.h.

#define Magma_DOUBLE   453

Definition at line 364 of file magma_types.h.

#define Magma_ELLPACK   412

Definition at line 348 of file magma_types.h.

#define Magma_ELLPACKT   413

Definition at line 349 of file magma_types.h.

#define MAGMA_ERR   -100

Definition at line 263 of file magma_types.h.

#define MAGMA_ERR_ALLOCATION   -106

Definition at line 269 of file magma_types.h.

#define MAGMA_ERR_CUDASTREAM   -114

Definition at line 277 of file magma_types.h.

#define MAGMA_ERR_DEVICE_ALLOC   -113

Definition at line 276 of file magma_types.h.

#define MAGMA_ERR_FILESYSTEM   -109

Definition at line 272 of file magma_types.h.

#define MAGMA_ERR_HOST_ALLOC   -112

Definition at line 275 of file magma_types.h.

#define MAGMA_ERR_ILLEGAL_VALUE   -104

Definition at line 267 of file magma_types.h.

#define MAGMA_ERR_INTERNAL_LIMIT   -107

Definition at line 270 of file magma_types.h.

#define MAGMA_ERR_INVALID_PTR   -115

Definition at line 278 of file magma_types.h.

#define MAGMA_ERR_NOT_FOUND   -105

Definition at line 268 of file magma_types.h.

#define MAGMA_ERR_NOT_INITIALIZED   -101

Definition at line 264 of file magma_types.h.

#define MAGMA_ERR_NOT_SUPPORTED   -103

Definition at line 266 of file magma_types.h.

#define MAGMA_ERR_REINITIALIZED   -102

Definition at line 265 of file magma_types.h.

#define MAGMA_ERR_SEQUENCE_FLUSHED   -111

Definition at line 274 of file magma_types.h.

#define MAGMA_ERR_UNALLOCATED   -108

Definition at line 271 of file magma_types.h.

#define MAGMA_ERR_UNEXPECTED   -110

Definition at line 273 of file magma_types.h.

#define MAGMA_ERR_UNKNOWN   -116

Definition at line 279 of file magma_types.h.

#define Magma_FCOMPLEX   452

Definition at line 363 of file magma_types.h.

#define Magma_FLOAT   454

Definition at line 365 of file magma_types.h.

#define Magma_GMRES   432

Definition at line 357 of file magma_types.h.

#define Magma_GS   435

Definition at line 360 of file magma_types.h.

#define Magma_JACOBI   434

Definition at line 359 of file magma_types.h.

#define MAGMA_S_ABS (   a)    ((a)>0?(a):-(a))

Definition at line 177 of file magma_types.h.

#define MAGMA_S_ADD (   a,
 
)    ((a) + (b))

Definition at line 173 of file magma_types.h.

#define MAGMA_S_CNJG (   a)    (a)

Definition at line 178 of file magma_types.h.

#define MAGMA_S_DIV (   a,
 
)    ((a) / (b))

Definition at line 176 of file magma_types.h.

#define MAGMA_S_EQUAL (   a,
 
)    ((a) == (b))

Definition at line 179 of file magma_types.h.

#define MAGMA_S_HALF   ( 0.5)

Definition at line 203 of file magma_types.h.

#define MAGMA_S_IMAG (   x)    (0.0)

Definition at line 171 of file magma_types.h.

#define MAGMA_S_MAKE (   r,
 
)    (r)

Definition at line 169 of file magma_types.h.

#define MAGMA_S_MUL (   a,
 
)    ((a) * (b))

Definition at line 175 of file magma_types.h.

#define MAGMA_S_NEG_HALF   (-0.5)

Definition at line 205 of file magma_types.h.

#define MAGMA_S_NEG_ONE   (-1.0)

Definition at line 204 of file magma_types.h.

#define MAGMA_S_NEGATE (   a)    (-a)

Definition at line 180 of file magma_types.h.

#define MAGMA_S_ONE   ( 1.0)

Definition at line 202 of file magma_types.h.

#define MAGMA_S_REAL (   x)    (x)

Definition at line 170 of file magma_types.h.

#define MAGMA_S_SET2REAL (   a,
 
)    (a) = (r)

Definition at line 172 of file magma_types.h.

#define MAGMA_S_SSCALE (   v,
  t,
 
)    (v) = (t)/(s)

Definition at line 181 of file magma_types.h.

#define MAGMA_S_SUB (   a,
 
)    ((a) - (b))

Definition at line 174 of file magma_types.h.

#define MAGMA_S_ZERO   ( 0.0)

Definition at line 201 of file magma_types.h.

#define MAGMA_SUCCESS   0

Definition at line 262 of file magma_types.h.

#define MAGMA_VERSION_MAJOR   1

Definition at line 248 of file magma_types.h.

#define MAGMA_VERSION_MICRO   0

Definition at line 250 of file magma_types.h.

#define MAGMA_VERSION_MINOR   4

Definition at line 249 of file magma_types.h.

#define MAGMA_VERSION_STAGE   ""

Definition at line 253 of file magma_types.h.

#define MAGMA_Z_EQUAL (   a,
 
)    (MAGMA_Z_REAL(a)==MAGMA_Z_REAL(b) && MAGMA_Z_IMAG(a)==MAGMA_Z_IMAG(b))

Definition at line 149 of file magma_types.h.

#define MAGMA_Z_HALF   MAGMA_Z_MAKE( 0.5, 0.0)

Definition at line 185 of file magma_types.h.

#define MAGMA_Z_NEG_HALF   MAGMA_Z_MAKE(-0.5, 0.0)

Definition at line 187 of file magma_types.h.

#define MAGMA_Z_NEG_ONE   MAGMA_Z_MAKE(-1.0, 0.0)

Definition at line 186 of file magma_types.h.

#define MAGMA_Z_NEGATE (   a)    MAGMA_Z_MAKE( -MAGMA_Z_REAL(a), -MAGMA_Z_IMAG(a))

Definition at line 150 of file magma_types.h.

#define MAGMA_Z_ONE   MAGMA_Z_MAKE( 1.0, 0.0)

Definition at line 184 of file magma_types.h.

#define MAGMA_Z_ZERO   MAGMA_Z_MAKE( 0.0, 0.0)

Definition at line 183 of file magma_types.h.

#define MagmaAllVec   'A' /* 304 */ /* gesvd */

Definition at line 337 of file magma_types.h.

#define MagmaAllVecStr   "All"

Definition at line 426 of file magma_types.h.

#define MagmaBackward   'B' /* 392 */ /* larfb */

Definition at line 342 of file magma_types.h.

#define MagmaBackwardStr   "Backward"

Definition at line 418 of file magma_types.h.

#define MagmaColMajor   'C' /* 102 */

Definition at line 288 of file magma_types.h.

#define MagmaColMajorStr   "Col"

Definition at line 400 of file magma_types.h.

#define MagmaColumnwise   'C' /* 401 */ /* larfb */

Definition at line 344 of file magma_types.h.

#define MagmaColumnwiseStr   "Columnwise"

Definition at line 420 of file magma_types.h.

#define MagmaConjTrans   'C' /* 113 */

Definition at line 292 of file magma_types.h.

#define MagmaConjTransStr   "ConjTrans"

Definition at line 404 of file magma_types.h.

#define MagmaDistNormal   203

Definition at line 316 of file magma_types.h.

#define MagmaDistSymmetric   202

Definition at line 315 of file magma_types.h.

#define MagmaDistUniform   201

Definition at line 314 of file magma_types.h.

#define MagmaForward   'F' /* 391 */ /* larfb */

Definition at line 341 of file magma_types.h.

#define MagmaForwardStr   "Forward"

Definition at line 417 of file magma_types.h.

#define MagmaFrobeniusNorm   'F' /* 174 */

Definition at line 308 of file magma_types.h.

#define MagmaFull   'F' /* 123 */

Definition at line 297 of file magma_types.h.

#define MagmaFullStr   "Full"

Definition at line 409 of file magma_types.h.

#define MagmaHermGeev   241

Definition at line 318 of file magma_types.h.

#define MagmaHermPoev   242

Definition at line 319 of file magma_types.h.

#define MagmaInfNorm   'I' /* 175 */

Definition at line 309 of file magma_types.h.

#define MagmaIvec   'I' /* 303 */ /* stedc */

Definition at line 336 of file magma_types.h.

#define MagmaIVecStr   "IVec"

Definition at line 425 of file magma_types.h.

#define MagmaLeft   'L' /* 141 */

Definition at line 302 of file magma_types.h.

#define MagmaLeftStr   "Left"

Definition at line 414 of file magma_types.h.

#define MagmaLower   'L' /* 122 */

Definition at line 295 of file magma_types.h.

#define MagmaLowerStr   "Lower"

Definition at line 407 of file magma_types.h.

#define MagmaMaxConst   435

Definition at line 370 of file magma_types.h.

#define MagmaMaxGPUs   8

Definition at line 255 of file magma_types.h.

#define MagmaMaxNorm   'M' /* 177 */

Definition at line 311 of file magma_types.h.

#define MagmaMinConst   101

Definition at line 369 of file magma_types.h.

#define MagmaNonsymPosv   243

Definition at line 320 of file magma_types.h.

#define MagmaNonUnit   'N' /* 131 */

Definition at line 299 of file magma_types.h.

#define MagmaNonUnitStr   "NonUnit"

Definition at line 411 of file magma_types.h.

#define MagmaNoPacking   291

Definition at line 323 of file magma_types.h.

#define MagmaNoTrans   'N' /* 111 */

Definition at line 290 of file magma_types.h.

#define MagmaNoTransStr   "NoTrans"

Definition at line 402 of file magma_types.h.

#define MagmaNoVec   'N' /* 301 */ /* geev, syev, gesvd */

Definition at line 334 of file magma_types.h.

#define MagmaNoVecStr   "NoVec"

Definition at line 423 of file magma_types.h.

#define MagmaOneNorm   '1' /* 171 */

Definition at line 305 of file magma_types.h.

#define MagmaOverwriteVec   'O' /* 306 */ /* gesvd */

Definition at line 339 of file magma_types.h.

#define MagmaOverwriteVecStr   "Overwrite"

Definition at line 428 of file magma_types.h.

#define MagmaPackAll   298

Definition at line 330 of file magma_types.h.

#define MagmaPackColumn   294

Definition at line 326 of file magma_types.h.

#define MagmaPackLowerBand   296

Definition at line 328 of file magma_types.h.

#define MagmaPackRow   295

Definition at line 327 of file magma_types.h.

#define MagmaPackSubdiag   292

Definition at line 324 of file magma_types.h.

#define MagmaPackSupdiag   293

Definition at line 325 of file magma_types.h.

#define MagmaPackUpeprBand   297

Definition at line 329 of file magma_types.h.

#define MagmaRealInfNorm   176

Definition at line 310 of file magma_types.h.

#define MagmaRealMaxNorm   178

Definition at line 312 of file magma_types.h.

#define MagmaRealOneNorm   172

Definition at line 306 of file magma_types.h.

#define MagmaRight   'R' /* 142 */

Definition at line 303 of file magma_types.h.

#define MagmaRightStr   "Right"

Definition at line 415 of file magma_types.h.

#define MagmaRowMajor   'R' /* 101 */

Definition at line 287 of file magma_types.h.

#define MagmaRowMajorStr   "Row"

Definition at line 399 of file magma_types.h.

#define MagmaRowwise   'R' /* 402 */ /* larfb */

Definition at line 345 of file magma_types.h.

#define MagmaRowwiseStr   "Rowwise"

Definition at line 421 of file magma_types.h.

#define MagmaSomeVec   'S' /* 305 */ /* gesvd */

Definition at line 338 of file magma_types.h.

#define MagmaSomeVecStr   "Some"

Definition at line 427 of file magma_types.h.

#define MagmaSymPosv   244

Definition at line 321 of file magma_types.h.

#define MagmaTrans   'T' /* 112 */

Definition at line 291 of file magma_types.h.

#define MagmaTransStr   "Trans"

Definition at line 403 of file magma_types.h.

#define MagmaTwoNorm   '2' /* 173 */

Definition at line 307 of file magma_types.h.

#define MagmaUnit   'U' /* 132 */

Definition at line 300 of file magma_types.h.

#define MagmaUnitStr   "Unit"

Definition at line 412 of file magma_types.h.

#define MagmaUpper   'U' /* 121 */

Definition at line 294 of file magma_types.h.

#define MagmaUpperLower   'F' /* 123 */

Definition at line 296 of file magma_types.h.

#define MagmaUpperLowerStr   "Full"

Definition at line 408 of file magma_types.h.

#define MagmaUpperStr   "Upper"

Definition at line 406 of file magma_types.h.

#define MagmaVec   'V' /* 302 */ /* geev, syev */

Definition at line 335 of file magma_types.h.

#define MagmaVecStr   "Vec"

Definition at line 424 of file magma_types.h.

Typedef Documentation

typedef void const* magma_const_ptr

Definition at line 235 of file magma_types.h.

typedef char magma_diag_t

Definition at line 379 of file magma_types.h.

typedef char magma_direct_t

Definition at line 385 of file magma_types.h.

typedef char magma_dist_t

Definition at line 382 of file magma_types.h.

typedef int magma_err_t

Definition at line 23 of file magma_types.h.

typedef int magma_int_t

Definition at line 22 of file magma_types.h.

typedef int magma_location_t

Definition at line 391 of file magma_types.h.

typedef char magma_major_t

Definition at line 376 of file magma_types.h.

typedef char magma_norm_t

Definition at line 381 of file magma_types.h.

typedef char magma_pack_t

Definition at line 383 of file magma_types.h.

typedef int magma_precision

Definition at line 394 of file magma_types.h.

typedef int magma_precond_type

Definition at line 393 of file magma_types.h.

typedef void* magma_ptr

Definition at line 228 of file magma_types.h.

typedef char magma_side_t

Definition at line 380 of file magma_types.h.

typedef int magma_storage_t

Definition at line 390 of file magma_types.h.

typedef char magma_storev_t

Definition at line 386 of file magma_types.h.

typedef char magma_trans_t

Definition at line 377 of file magma_types.h.

typedef char magma_uplo_t

Definition at line 378 of file magma_types.h.

typedef char magma_vec_t

Definition at line 384 of file magma_types.h.

typedef double const* magmaDouble_const_ptr

Definition at line 238 of file magma_types.h.

typedef double* magmaDouble_ptr

Definition at line 231 of file magma_types.h.

typedef magmaDoubleComplex const* magmaDoubleComplex_const_ptr

Definition at line 240 of file magma_types.h.

typedef magmaDoubleComplex* magmaDoubleComplex_ptr

Definition at line 233 of file magma_types.h.

typedef float const* magmaFloat_const_ptr

Definition at line 237 of file magma_types.h.

typedef float* magmaFloat_ptr

Definition at line 230 of file magma_types.h.

typedef magmaFloatComplex const* magmaFloatComplex_const_ptr

Definition at line 239 of file magma_types.h.

typedef magmaFloatComplex* magmaFloatComplex_ptr

Definition at line 232 of file magma_types.h.

Definition at line 236 of file magma_types.h.

Definition at line 229 of file magma_types.h.

typedef double real_Double_t

Definition at line 27 of file magma_types.h.

Function Documentation

static int cblas_const ( int  magma_const)
inlinestatic

Definition at line 480 of file magma_types.h.

References MagmaMaxConst, and MagmaMinConst.

480  {
481  assert( magma_const >= MagmaMinConst );
482  assert( magma_const <= MagmaMaxConst );
483  return magma_const;
484 }
#define MagmaMinConst
Definition: magma_types.h:369
#define MagmaMaxConst
Definition: magma_types.h:370
const char* lapack_const ( int  magma_const)
char lapacke_const ( int  magma_const)
magma_diag_t magma_diag_const ( char  lapack_char)
magma_direct_t magma_direct_const ( char  lapack_char)
magma_dist_t magma_dist_const ( char  lapack_char)
magma_norm_t magma_norm_const ( char  lapack_char)
magma_pack_t magma_pack_const ( char  lapack_char)
magma_side_t magma_side_const ( char  lapack_char)
magma_storev_t magma_storev_const ( char  lapack_char)
magma_trans_t magma_trans_const ( char  lapack_char)
magma_uplo_t magma_uplo_const ( char  lapack_char)
magma_vec_t magma_vec_const ( char  lapack_char)