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

Go to the source code of this file.
Functions | |
| void | plasma_pspack (plasma_context_t *plasma) |
| void | plasma_psunpack (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.
s Tue Nov 22 14:35:42 2011
Definition in file pspack.c.
| void plasma_pspack | ( | plasma_context_t * | plasma | ) |
plasma_pspack 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 pspack.c.
References A, CORE_slacpy(), min, plasma_barrier(), plasma_private_alloc(), plasma_private_free(), PLASMA_RANK, PLASMA_SIZE, PLASMA_SUCCESS, plasma_unpack_args_6, PlasmaRealFloat, PlasmaUpperLower, plasma_sequence_t::status, and W.


| void plasma_psunpack | ( | plasma_context_t * | plasma | ) |
plasma_psunpack 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 pspack.c.
References A, CORE_slacpy(), min, plasma_barrier(), plasma_private_alloc(), plasma_private_free(), PLASMA_RANK, PLASMA_SIZE, PLASMA_SUCCESS, plasma_unpack_args_6, PlasmaRealFloat, PlasmaUpperLower, plasma_sequence_t::status, and W.

