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

Go to the source code of this file.
Functions | |
| void | plasma_pzpack (plasma_context_t *plasma) |
| void | plasma_pzunpack (plasma_context_t *plasma) |
PLASMA InPlaceTransformation module PLASMA is a software package provided by Univ. of Tennessee, Univ. of California Berkeley and Univ. of Colorado Denver
This work is the implementation of an inplace transformation based on the GKK algorithm by Gustavson, Karlsson, Kagstrom and its fortran implementation.
normal z -> c d s
Definition in file pzpack.c.
| void plasma_pzpack | ( | plasma_context_t * | plasma | ) |
plasma_pzpack pack all extra elements at the end of the matrix
+—————+ | | | | | A11 | | | | | +—————+ | A21 | +—————+
This matrix is initially stored as (example of Column Major, it's the same for row major. We just consider the transpose matrix) : A11(:,0), A21(:,0), A11(:,1), A21(:,1), ...
On exit, it's stored as follow. A11(:,:), A12(:,:)
| [in] | plasma | Plasma context |
| [in] | m | Number of rows in matrix A |
| [in] | n | Number of columns in matrix A |
| [in,out] | A | Matrix A to pack. (see above for entry and exit format) |
| [in] | m0 | Number of rows of A21 |
Definition at line 65 of file pzpack.c.
References A, CORE_zlacpy(), min, plasma_barrier(), plasma_private_alloc(), plasma_private_free(), PLASMA_RANK, PLASMA_SIZE, PLASMA_SUCCESS, plasma_unpack_args_6, PlasmaComplexDouble, PlasmaUpperLower, plasma_sequence_t::status, and W.


| void plasma_pzunpack | ( | plasma_context_t * | plasma | ) |
plasma_pzunpack unpack all extra elements from the end of the matrix
+—————+ | | | | | A11 | | | | | +—————+ | A21 | +—————+
This matrix is initially stored as (example of Column Major, it's the same for row major. We just consider the transpose matrix) : A11(:,:), A12(:,:)
On exit, it's stored as follow. A11(:,0), A21(:,0), A11(:,1), A21(:,1), ...
| [in] | plasma | Plasma context |
| [in] | m | Number of rows in matrix A |
| [in] | n | Number of columns in matrix A |
| [in,out] | A | Matrix A to pack. (see above for entry and exit format) |
| [in] | m0 | Number of rows of A21 |
Definition at line 166 of file pzpack.c.
References A, CORE_zlacpy(), min, plasma_barrier(), plasma_private_alloc(), plasma_private_free(), PLASMA_RANK, PLASMA_SIZE, PLASMA_SUCCESS, plasma_unpack_args_6, PlasmaComplexDouble, PlasmaUpperLower, plasma_sequence_t::status, and W.

