PLASMA
2.4.5
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
|
Go to the source code of this file.
Macros | |
#define | USAGE(name, args, details) |
#define | max(a, b) ((a) > (b) ? (a) : (b)) |
#define | min(a, b) ((a) < (b) ? (a) : (b)) |
Functions | |
int | map_CM (int m, int n, int mb, int nb, int i, int j) |
int | map_CCRB (int m, int n, int mb, int nb, int i, int j) |
int | map_CRRB (int m, int n, int mb, int nb, int i, int j) |
int | map_RCRB (int m, int n, int mb, int nb, int i, int j) |
int | map_RRRB (int m, int n, int mb, int nb, int i, int j) |
int | map_RM (int m, int n, int mb, int nb, int i, int j) |
int | testing_cgemm (int argc, char **argv) |
int | testing_chemm (int argc, char **argv) |
int | testing_csymm (int argc, char **argv) |
int | testing_cherk (int argc, char **argv) |
int | testing_csyrk (int argc, char **argv) |
int | testing_cher2k (int argc, char **argv) |
int | testing_csyr2k (int argc, char **argv) |
int | testing_ctrmm (int argc, char **argv) |
int | testing_ctrsm (int argc, char **argv) |
int | testing_cpemv (int argc, char **argv) |
int | testing_cposv (int argc, char **argv) |
int | testing_cgels (int argc, char **argv) |
int | testing_cgesv (int argc, char **argv) |
int | testing_cpotri (int argc, char **argv) |
int | testing_cgetri (int argc, char **argv) |
int | testing_cgeev (int argc, char **argv) |
int | testing_cgesvd (int argc, char **argv) |
int | testing_cheev (int argc, char **argv) |
int | testing_chegv (int argc, char **argv) |
int | testing_chegst (int argc, char **argv) |
int | testing_cgecfi (int argc, char **argv) |
int | testing_cgetmi (int argc, char **argv) |
int | testing_clange (int argc, char **argv) |
Variables | |
int | IONE |
int | ISEED [4] |
int | format [6] |
int | trans [3] |
int | uplo [2] |
int | side [2] |
int | diag [2] |
int | itype [3] |
int | storev [2] |
char * | formatstr [6] |
char * | transstr [3] |
char * | uplostr [2] |
char * | sidestr [2] |
char * | diagstr [2] |
char * | itypestr [3] |
char * | storevstr [2] |
void * | formatmap [6] |
PLASMA testing routines PLASMA is a software package provided by Univ. of Tennessee, Univ. of California Berkeley and Univ. of Colorado Denver
Definition in file testing_cmain.h.
#define max | ( | a, | |
b | |||
) | ((a) > (b) ? (a) : (b)) |
Definition at line 31 of file testing_cmain.h.
#define min | ( | a, | |
b | |||
) | ((a) < (b) ? (a) : (b)) |
Definition at line 34 of file testing_cmain.h.
#define USAGE | ( | name, | |
args, | |||
details | |||
) |
Definition at line 18 of file testing_cmain.h.
int map_CCRB | ( | int | m, |
int | n, | ||
int | mb, | ||
int | nb, | ||
int | i, | ||
int | j | ||
) |
Definition at line 49 of file testing_cmain.c.
int map_CM | ( | int | m, |
int | n, | ||
int | mb, | ||
int | nb, | ||
int | i, | ||
int | j | ||
) |
Definition at line 47 of file testing_cmain.c.
int map_CRRB | ( | int | m, |
int | n, | ||
int | mb, | ||
int | nb, | ||
int | i, | ||
int | j | ||
) |
Definition at line 68 of file testing_cmain.c.
int map_RCRB | ( | int | m, |
int | n, | ||
int | mb, | ||
int | nb, | ||
int | i, | ||
int | j | ||
) |
Definition at line 87 of file testing_cmain.c.
int map_RM | ( | int | m, |
int | n, | ||
int | mb, | ||
int | nb, | ||
int | i, | ||
int | j | ||
) |
Definition at line 48 of file testing_cmain.c.
int map_RRRB | ( | int | m, |
int | n, | ||
int | mb, | ||
int | nb, | ||
int | i, | ||
int | j | ||
) |
Definition at line 106 of file testing_cmain.c.
int testing_cgecfi | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 89 of file testing_cgecfi.c.
References A, B, check_solution(), formatmap, formatstr, ISEED, PLASMA_cgecfi(), PLASMA_DYNAMIC_SCHEDULING, PLASMA_Finalize(), PLASMA_Init(), PLASMA_SCHEDULING_MODE, PLASMA_Set(), PLASMA_SUCCESS, PlasmaCM, and USAGE.
int testing_cgeev | ( | int | argc, |
char ** | argv | ||
) |
int testing_cgels | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 198 of file testing_cgels.c.
References blas_eps, check_factorization(), check_orthogonality(), check_solution(), IONE, ISEED, min, PLASMA_Alloc_Workspace_cgels(), PLASMA_cgelqf(), PLASMA_cgelqs(), PLASMA_cgels(), PLASMA_cgeqrf(), PLASMA_cgeqrs(), PLASMA_ctrsm(), PLASMA_cunglq(), PLASMA_cungqr(), PLASMA_cunmlq(), PLASMA_cunmqr(), PLASMA_HOUSEHOLDER_MODE, PLASMA_HOUSEHOLDER_SIZE, PLASMA_Set(), PLASMA_TREE_HOUSEHOLDER, PlasmaConjTrans, PlasmaLeft, PlasmaLower, PlasmaNonUnit, PlasmaNoTrans, PlasmaUpper, Q, T, and USAGE.
int testing_cgemm | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 35 of file testing_cgemm.c.
References A, B, C, check_solution(), IONE, ISEED, max, PLASMA_cgemm(), trans, transstr, and USAGE.
int testing_cgesv | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 155 of file testing_cgesv.c.
References blas_eps, check_solution(), IONE, IPIV, ISEED, PLASMA_cgesv(), PLASMA_cgetrf(), PLASMA_cgetrs, PLASMA_claswp(), PLASMA_ctrsm(), PlasmaLeft, PlasmaLower, PlasmaNonUnit, PlasmaNoTrans, PlasmaUnit, PlasmaUpper, and USAGE.
int testing_cgesvd | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 33 of file testing_cgesvd.c.
References check_orthogonality(), check_solution(), ISEED, lapack_const, max, min, PLASMA_Alloc_Workspace_cgesvd(), PLASMA_cgesvd(), PLASMA_Dealloc_Handle_Tile(), PLASMA_Enable(), PLASMA_ERRORS, PLASMA_HOUSEHOLDER_MODE, PLASMA_HOUSEHOLDER_SIZE, PLASMA_Set(), PLASMA_TREE_HOUSEHOLDER, PLASMA_WARNINGS, PlasmaDistUniform, PlasmaLeft, PlasmaNonsymPosv, PlasmaNoPacking, PlasmaNoVec, PlasmaRight, PlasmaVec, T, and USAGE.
int testing_cgetmi | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 46 of file testing_cgetmi.c.
References A, B, check_solution(), format, formatmap, formatstr, ISEED, PLASMA_cgetmi(), PLASMA_SUCCESS, and USAGE.
int testing_cgetri | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 29 of file testing_cgetri.c.
References check_factorization(), IPIV, PLASMA_cgetrf(), PLASMA_cgetri(), PLASMA_cplrnt(), and USAGE.
int testing_cheev | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 35 of file testing_cheev.c.
References check_orthogonality(), check_solution(), ISEED, lapack_const, min, PLASMA_Alloc_Workspace_cheev(), PLASMA_cheev(), PLASMA_Dealloc_Handle_Tile(), PLASMA_Enable(), PLASMA_ERRORS, PLASMA_WARNINGS, PlasmaDistSymmetric, PlasmaHermGeev, PlasmaLower, PlasmaNoPacking, PlasmaNoVec, PlasmaVec, Q, T, uplo, and USAGE.
int testing_chegst | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 32 of file testing_chegst.c.
References check_factorization(), itype, itypestr, PLASMA_chegst(), PLASMA_cplghe(), PLASMA_cpotrf(), uplo, uplostr, and USAGE.
int testing_chegv | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 36 of file testing_chegv.c.
References check_orthogonality(), check_solution(), itype, itypestr, lapack_const, PLASMA_Alloc_Workspace_chegv(), PLASMA_chegv(), PLASMA_cplghe(), PLASMA_Dealloc_Handle_Tile(), PLASMA_Enable(), PLASMA_ERRORS, PLASMA_WARNINGS, PlasmaNoVec, PlasmaVec, Q, T, uplo, uplostr, and USAGE.
int testing_chemm | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 31 of file testing_chemm.c.
References A, B, C, check_solution(), IONE, ISEED, max, PLASMA_chemm(), PLASMA_cplghe(), side, sidestr, uplo, uplostr, and USAGE.
int testing_cher2k | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 32 of file testing_cher2k.c.
References A, B, C, check_solution(), IONE, ISEED, max, PLASMA_cher2k(), PLASMA_cplghe(), PlasmaTrans, trans, transstr, uplo, uplostr, and USAGE.
int testing_cherk | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 31 of file testing_cherk.c.
References A, C, check_solution(), IONE, ISEED, max, PLASMA_cherk(), PLASMA_cplgsy(), PlasmaTrans, trans, transstr, uplo, uplostr, and USAGE.
int testing_clange | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 34 of file testing_clange.c.
References A, IONE, ISEED, lapack_const, max, min, norm, normstr, PLASMA_clange(), PLASMA_clanhe(), PLASMA_clansy(), uplo, uplostr, and USAGE.
int testing_cpemv | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 79 of file testing_cpemv.c.
References A, cblas_ccopy(), check_solution(), CORE_cpemv(), ISEED, PLASMA_cplrnt(), PlasmaColumnwise, PlasmaNoTrans, PlasmaRowwise, storev, storevstr, trans, transstr, and USAGE.
int testing_cposv | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 154 of file testing_cposv.c.
References blas_eps, check_factorization(), check_solution(), PLASMA_clacpy(), PLASMA_cplghe(), PLASMA_cplrnt(), PLASMA_cposv(), PLASMA_cpotrf(), PLASMA_cpotrs(), PLASMA_ctrsm(), PlasmaConjTrans, PlasmaLeft, PlasmaNonUnit, PlasmaNoTrans, PlasmaUpper, PlasmaUpperLower, uplo, and USAGE.
int testing_cpotri | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 164 of file testing_cpotri.c.
References blas_eps, check_factorization(), PLASMA_clacpy(), PLASMA_cplghe(), PLASMA_cpotrf(), PLASMA_cpotri(), PlasmaUpper, PlasmaUpperLower, uplo, and USAGE.
int testing_csymm | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 31 of file testing_csymm.c.
References A, B, C, check_solution(), IONE, ISEED, max, PLASMA_cplgsy(), PLASMA_csymm(), side, sidestr, uplo, uplostr, and USAGE.
int testing_csyr2k | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 32 of file testing_csyr2k.c.
References A, B, C, check_solution(), IONE, ISEED, max, PLASMA_cplgsy(), PLASMA_csyr2k(), trans, transstr, uplo, uplostr, and USAGE.
int testing_csyrk | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 31 of file testing_csyrk.c.
References A, C, check_solution(), IONE, ISEED, max, PLASMA_cplgsy(), PLASMA_csyrk(), trans, transstr, uplo, uplostr, and USAGE.
int testing_ctrmm | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 34 of file testing_ctrmm.c.
References A, B, cblas_caxpy(), cblas_ctrmm(), CBLAS_SADDR, CblasColMajor, check_solution(), diag, diagstr, IONE, ISEED, lapack_const, max, PLASMA_ctrmm(), PlasmaInfNorm, PlasmaLeft, side, sidestr, trans, transstr, uplo, uplostr, and USAGE.
int testing_ctrsm | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 34 of file testing_ctrsm.c.
References A, B, cblas_caxpy(), cblas_ctrsm(), CBLAS_SADDR, CblasColMajor, check_solution(), diag, diagstr, IONE, ISEED, lapack_const, max, PLASMA_ctrsm(), PlasmaInfNorm, PlasmaLeft, side, sidestr, trans, transstr, uplo, uplostr, and USAGE.
int diag[2] |
Definition at line 31 of file testing_cmain.c.
char* diagstr[2] |
Definition at line 39 of file testing_cmain.c.
int format[6] |
Definition at line 28 of file testing_cmain.c.
void* formatmap[6] |
Definition at line 125 of file testing_cmain.c.
char* formatstr[6] |
Definition at line 36 of file testing_cmain.c.
int IONE |
Definition at line 37 of file example_cgelqf.c.
int ISEED[4] |
Definition at line 38 of file example_cgelqf.c.
int itype[3] |
Definition at line 33 of file testing_cmain.c.
char* itypestr[3] |
Definition at line 41 of file testing_cmain.c.
int side[2] |
Definition at line 29 of file testing_cmain.c.
char* sidestr[2] |
Definition at line 37 of file testing_cmain.c.
int storev[2] |
Definition at line 34 of file testing_cmain.c.
char* storevstr[2] |
Definition at line 42 of file testing_cmain.c.
int trans[3] |
Definition at line 32 of file testing_cmain.c.
char* transstr[3] |
Definition at line 40 of file testing_cmain.c.
int uplo[2] |
Definition at line 30 of file testing_cmain.c.
char* uplostr[2] |
Definition at line 38 of file testing_cmain.c.