|
PLASMA
2.4.5
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
|

Go to the source code of this file.
Functions | |
| PLASMA_desc | plasma_desc_init (PLASMA_enum dtyp, int mb, int nb, int bsiz, int lm, int ln, int i, int j, int m, int n) |
| PLASMA_desc | plasma_desc_submatrix (PLASMA_desc descA, int i, int j, int m, int n) |
| int | plasma_desc_check (PLASMA_desc *desc) |
| int | plasma_desc_mat_alloc (PLASMA_desc *desc) |
| int | plasma_desc_mat_free (PLASMA_desc *desc) |
| int | PLASMA_Desc_Create (PLASMA_desc **desc, void *mat, PLASMA_enum dtyp, int mb, int nb, int bsiz, int lm, int ln, int i, int j, int m, int n) |
| int | PLASMA_Desc_Destroy (PLASMA_desc **desc) |
PLASMA auxiliary routines PLASMA is a software package provided by Univ. of Tennessee, Univ. of California Berkeley and Univ. of Colorado Denver
Definition in file descriptor.c.
| int plasma_desc_check | ( | PLASMA_desc * | desc | ) |
Check for descriptor correctness
Definition at line 82 of file descriptor.c.
References plasma_desc_t::bsiz, plasma_desc_t::dtyp, plasma_desc_t::i, plasma_desc_t::j, plasma_desc_t::lm, plasma_desc_t::ln, plasma_desc_t::m, plasma_desc_t::mat, plasma_desc_t::mb, plasma_desc_t::n, plasma_desc_t::nb, PLASMA_ERR_ILLEGAL_VALUE, PLASMA_ERR_UNALLOCATED, plasma_error(), PLASMA_SUCCESS, PlasmaComplexDouble, PlasmaComplexFloat, PlasmaRealDouble, and PlasmaRealFloat.

| int PLASMA_Desc_Create | ( | PLASMA_desc ** | desc, |
| void * | mat, | ||
| PLASMA_enum | dtyp, | ||
| int | mb, | ||
| int | nb, | ||
| int | bsiz, | ||
| int | lm, | ||
| int | ln, | ||
| int | i, | ||
| int | j, | ||
| int | m, | ||
| int | n | ||
| ) |
PLASMA_Desc_Create - Create matrix descriptor.
| [out] | desc | On exit, descriptor of the matrix. |
| [in] | mat | Memory location of the matrix. |
| [in] | dtyp | Data type of the matrix:
|
| [in] | mb | Number of rows in a tile. |
| [in] | nb | Number of columns in a tile. |
| [in] | bsiz | Size in bytes including padding. |
| [in] | lm | Number of rows of the entire matrix. |
| [in] | ln | Number of columns of the entire matrix. |
| [in] | i | Row index to the beginning of the submatrix. |
| [in] | j | Column indes to the beginning of the submatrix. |
| [in] | m | Number of rows of the submatrix. |
| [in] | n | Number of columns of the submatrix. |
| PLASMA_SUCCESS | successful exit |
Definition at line 201 of file descriptor.c.
References plasma_context_self(), plasma_desc_check(), plasma_desc_init(), PLASMA_ERR_NOT_INITIALIZED, PLASMA_ERR_OUT_OF_RESOURCES, plasma_error(), and PLASMA_SUCCESS.


| int PLASMA_Desc_Destroy | ( | PLASMA_desc ** | desc | ) |
PLASMA_Desc_Destroy - Destroys matrix descriptor.
| [in] | desc | Matrix descriptor. |
| PLASMA_SUCCESS | successful exit |
Definition at line 245 of file descriptor.c.
References plasma_context_self(), PLASMA_ERR_NOT_INITIALIZED, PLASMA_ERR_UNALLOCATED, plasma_error(), and PLASMA_SUCCESS.


| PLASMA_desc plasma_desc_init | ( | PLASMA_enum | dtyp, |
| int | mb, | ||
| int | nb, | ||
| int | bsiz, | ||
| int | lm, | ||
| int | ln, | ||
| int | i, | ||
| int | j, | ||
| int | m, | ||
| int | n | ||
| ) |
Internal static descriptor initializer
Definition at line 22 of file descriptor.c.
References plasma_desc_t::A12, plasma_desc_t::A21, plasma_desc_t::A22, plasma_desc_t::bsiz, plasma_desc_t::dtyp, plasma_desc_t::i, plasma_desc_t::j, plasma_desc_t::lm, plasma_desc_t::lm1, plasma_desc_t::lmt, plasma_desc_t::ln, plasma_desc_t::ln1, plasma_desc_t::lnt, plasma_desc_t::m, plasma_desc_t::mat, plasma_desc_t::mb, plasma_desc_t::mt, plasma_desc_t::n, plasma_desc_t::nb, and plasma_desc_t::nt.
| int plasma_desc_mat_alloc | ( | PLASMA_desc * | desc | ) |
Definition at line 121 of file descriptor.c.
References plasma_desc_t::dtyp, plasma_desc_t::lm, plasma_desc_t::ln, plasma_desc_t::mat, plasma_element_size(), PLASMA_ERR_OUT_OF_RESOURCES, plasma_error(), and PLASMA_SUCCESS.


| int plasma_desc_mat_free | ( | PLASMA_desc * | desc | ) |
Definition at line 138 of file descriptor.c.
References plasma_desc_t::mat, and PLASMA_SUCCESS.
| PLASMA_desc plasma_desc_submatrix | ( | PLASMA_desc | descA, |
| int | i, | ||
| int | j, | ||
| int | m, | ||
| int | n | ||
| ) |
Internal static descriptor initializer for submatrices
Definition at line 60 of file descriptor.c.
References plasma_desc_t::i, plasma_desc_t::j, plasma_desc_t::m, plasma_desc_t::mb, plasma_desc_t::mt, plasma_desc_t::n, plasma_desc_t::nb, and plasma_desc_t::nt.