PLASMA
2.4.5
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
|
Go to the source code of this file.
Functions | |
void | CORE_zswpab (int i, int n1, int n2, PLASMA_Complex64_t *A, PLASMA_Complex64_t *work) |
void | QUARK_CORE_zswpab (Quark *quark, Quark_Task_Flags *task_flags, int i, int n1, int n2, PLASMA_Complex64_t *A, int szeA) |
void | CORE_zswpab_quark (Quark *quark) |
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 core_zswpab.c.
void CORE_zswpab | ( | int | i, |
int | n1, | ||
int | n2, | ||
PLASMA_Complex64_t * | A, | ||
PLASMA_Complex64_t * | work | ||
) |
CORE_zswpab swaps two adjacent contiguous blocks of data.
n1 n2
+————-+——————————-+
become : n2 n1 +——————————-+————-+
[in,out] | A | Array of size i+n1+n2. On entry, a block of size n1 followed by a block of size n2. On exit, the block of size n1 follows the block of size n2. |
[in] | i | First block starts at A[i]. |
[in] | n1 | Size of the first block to swap. |
[in] | n2 | Size of the second block to swap. |
[out] | work | Workspace array of size min(n1, n2). |
Definition at line 63 of file core_zswpab.c.
void CORE_zswpab_quark | ( | Quark * | quark | ) |
Definition at line 107 of file core_zswpab.c.
References A, CORE_zswpab(), and quark_unpack_args_5.
void QUARK_CORE_zswpab | ( | Quark * | quark, |
Quark_Task_Flags * | task_flags, | ||
int | i, | ||
int | n1, | ||
int | n2, | ||
PLASMA_Complex64_t * | A, | ||
int | szeA | ||
) |
Definition at line 85 of file core_zswpab.c.
References CORE_zswpab_quark(), DAG_CORE_SWPAB, INOUT, min, QUARK_Insert_Task(), SCRATCH, and VALUE.