PaStiX Handbook 6.4.0
|
Go to the source code of this file.
Functions | |
size_t | cpublok_ccompute_size_lr (pastix_coefside_t side, pastix_int_t N, const SolverBlok *blok) |
Compute the size of a block to send in LR. | |
pastix_uint_t | cpucblk_ccompute_size_lr (pastix_coefside_t side, const SolverCblk *cblk) |
Compute the size of a column block to send in LR. | |
size_t | cpucblk_ccompute_size (pastix_coefside_t side, const SolverCblk *cblk) |
Compute the size of the buffer to send. | |
char * | cpublok_cpack_lr (pastix_coefside_t side, pastix_uint_t N, const SolverBlok *blok, char *buffer) |
Pack low-rank data for a block. | |
void * | cpucblk_cpack_lr (pastix_coefside_t side, SolverCblk *cblk, size_t size) |
Pack low-rank data for column block. | |
char * | cpublok_cunpack_lr (pastix_coefside_t side, pastix_int_t N, SolverBlok *blok, char *buffer) |
Unpack low rank data and fill the block concerned by the computation. | |
void | cpucblk_cunpack_lr (pastix_coefside_t side, SolverCblk *cblk, void *buffer) |
Unpack low rank data and fill the column block concerned by the computation. | |
void * | cpucblk_cpack_fr (pastix_coefside_t side, const SolverCblk *cblk) |
Pack data in full rank. | |
void | cpucblk_cunpack_fr (pastix_coefside_t side, SolverCblk *cblk, pastix_complex32_t *buffer) |
Unpack data in full rank and fill the column block concerned by the computation. | |
void * | cpucblk_cpack (pastix_coefside_t side, SolverCblk *cblk, size_t size) |
Pack a column block (Full rank or low rank). | |
void | cpucblk_cunpack (pastix_coefside_t side, SolverCblk *cblk, void *buffer) |
Unpack data and fill the column block concerned by the computation. | |
Precision dependent routines to pack and unpack cblks.
Definition in file cpucblk_cpack.h.
size_t cpublok_ccompute_size_lr | ( | pastix_coefside_t | side, |
pastix_int_t | N, | ||
const SolverBlok * | blok | ||
) |
Compute the size of a block to send in LR.
[in] | side | Define which side of the cblk must be tested.
|
[in] | N | The number of columns of the block. |
[in] | blok | The block for which the size is computed. |
Definition at line 48 of file cpucblk_cpack.c.
References blok_rownbr(), core_clrgetsize(), solver_blok_s::LRblock, pastix_int_t, PastixLCoef, and PastixUCoef.
Referenced by cpucblk_ccompute_size_lr().
pastix_uint_t cpucblk_ccompute_size_lr | ( | pastix_coefside_t | side, |
const SolverCblk * | cblk | ||
) |
Compute the size of a column block to send in LR.
[in] | side | Define which side of the cblk must be tested.
|
[in] | cblk | The low-rank column block for which the size is computed. |
Definition at line 94 of file cpucblk_cpack.c.
References cblk_colnbr(), solver_cblk_s::cblktype, cpublok_ccompute_size_lr(), and solver_cblk_s::fblokptr.
Referenced by cpucblk_ccompute_size().
size_t cpucblk_ccompute_size | ( | pastix_coefside_t | side, |
const SolverCblk * | cblk | ||
) |
Compute the size of the buffer to send.
[in] | side | Define which side of the cblk must be tested.
|
[in] | cblk | The column block for which the size is computed. |
Definition at line 134 of file cpucblk_cpack.c.
References cblk_colnbr(), solver_cblk_s::cblktype, cpucblk_ccompute_size_lr(), PastixLUCoef, and solver_cblk_s::stride.
char * cpublok_cpack_lr | ( | pastix_coefside_t | side, |
pastix_uint_t | N, | ||
const SolverBlok * | blok, | ||
char * | buffer | ||
) |
Pack low-rank data for a block.
[in] | side | Define which side of the cblk must be tested.
|
[in] | N | Number of columns of the block. |
[in] | blok | The solver block to pack. |
[in,out] | buffer | Pointer to the buffer where to pack the data. |
Definition at line 177 of file cpucblk_cpack.c.
References blok_rownbr(), core_clrpack(), solver_blok_s::LRblock, pastix_int_t, PastixLCoef, and PastixUCoef.
Referenced by cpucblk_cpack_lr().
void * cpucblk_cpack_lr | ( | pastix_coefside_t | side, |
SolverCblk * | cblk, | ||
size_t | size | ||
) |
Pack low-rank data for column block.
[in] | side | Define which side of the cblk must be tested.
|
[in] | cblk | The column block to pack. |
[in] | size | Size to allocate the buffer. |
Definition at line 220 of file cpucblk_cpack.c.
References cblk_colnbr(), solver_cblk_s::cblktype, cpublok_cpack_lr(), solver_cblk_s::fblokptr, solver_cblk_s::lcoeftab, pastix_int_t, PastixLCoef, PastixUCoef, and solver_cblk_s::ucoeftab.
Referenced by cpucblk_cpack().
char * cpublok_cunpack_lr | ( | pastix_coefside_t | side, |
pastix_int_t | N, | ||
SolverBlok * | blok, | ||
char * | buffer | ||
) |
Unpack low rank data and fill the block concerned by the computation.
[in] | side | Define which side of the cblk must be tested.
|
[in] | N | Number of columns of the block. |
[in,out] | blok | The block concerned by the computation. |
[in,out] | buffer | Pointer on the packed data. |
Definition at line 272 of file cpucblk_cpack.c.
References blok_rownbr(), core_clrunpack(), solver_blok_s::LRblock, pastix_int_t, PastixLCoef, and PastixUCoef.
Referenced by cpucblk_cunpack_lr().
void cpucblk_cunpack_lr | ( | pastix_coefside_t | side, |
SolverCblk * | cblk, | ||
void * | buffer | ||
) |
Unpack low rank data and fill the column block concerned by the computation.
[in] | side | Define which side of the cblk must be tested.
|
[in,out] | cblk | The column block to fill. |
[in,out] | buffer | Pointer on packed data. |
Definition at line 311 of file cpucblk_cpack.c.
References cblk_colnbr(), solver_cblk_s::cblktype, cpublok_cunpack_lr(), cpucblk_calloc_lr(), solver_cblk_s::fblokptr, and pastix_int_t.
Referenced by cpucblk_cunpack().
void * cpucblk_cpack_fr | ( | pastix_coefside_t | side, |
const SolverCblk * | cblk | ||
) |
Pack data in full rank.
[in] | side | Define which side of the cblk must be tested.
|
[in] | cblk | The column block that will be sent. |
Definition at line 351 of file cpucblk_cpack.c.
References solver_cblk_s::cblktype, solver_cblk_s::lcoeftab, PastixUCoef, and solver_cblk_s::ucoeftab.
Referenced by cpucblk_cpack().
void cpucblk_cunpack_fr | ( | pastix_coefside_t | side, |
SolverCblk * | cblk, | ||
pastix_complex32_t * | buffer | ||
) |
Unpack data in full rank and fill the column block concerned by the computation.
[in] | side | Define which side of the cblk must be tested.
|
[in] | cblk | The column block to unpack. |
[in] | buffer | Pointer on packed data. |
Definition at line 380 of file cpucblk_cpack.c.
References cblk_colnbr(), solver_cblk_s::cblktype, solver_cblk_s::lcoeftab, PastixLCoef, solver_cblk_s::stride, and solver_cblk_s::ucoeftab.
Referenced by cpucblk_cunpack().
void * cpucblk_cpack | ( | pastix_coefside_t | side, |
SolverCblk * | cblk, | ||
size_t | size | ||
) |
Pack a column block (Full rank or low rank).
[in] | side | Define which side of the cblk must be tested.
|
[in] | cblk | The column block that will be sent. |
[in] | size | TODO |
Definition at line 417 of file cpucblk_cpack.c.
References solver_cblk_s::cblktype, cpucblk_cpack_fr(), and cpucblk_cpack_lr().
void cpucblk_cunpack | ( | pastix_coefside_t | side, |
SolverCblk * | cblk, | ||
void * | buffer | ||
) |
Unpack data and fill the column block concerned by the computation.
[in] | side | Define which side of the cblk must be tested.
|
[in,out] | cblk | The cblk to unpack. |
[in] | buffer | Pointer on packed data. |
Definition at line 450 of file cpucblk_cpack.c.
References solver_cblk_s::cblktype, cpucblk_cunpack_fr(), and cpucblk_cunpack_lr().