HPL_pdlaswp00T(3)
π HPL_pdlaswp00T π
okay bestie, welcome to the HPL Library Functions corner of the manual, this one's HPL_pdlaswp00T and she is busy β she broadcasts a column panel L and swaps the row panel U. Both. At once. Iconic behavior honestly. β¨
β¨ SYNOPSIS β¨
#include "hpl.h"
void HPL_pdlaswp00T( HPL_T_panel * PBCST, int * IFLAG, HPL_T_panel *
PANEL, const int NN );
like, that's the whole signature, no cap. π«Ά
πΈ DESCRIPTION πΈ
So HPL_pdlaswp00T applies the NB row interchanges to NN columns of the trailing submatrix and broadcasts a column panel. Two jobs, one function, main character energy fr fr. π
The way it does it? Bi-directional exchange, bestie. It performs the swap :: broadcast of the row panel U at once, which means fewer messages than usual and a lower communication volume. Slay. With P process rows and assuming bi-directional links, the running time of this function can be approximated by:
log_2(P) * (lat + NB*LocQ(N) / bdwth)
where NB is the number of rows of the row panel U, N is the global number of columns being updated, and lat and bdwth are the latency and bandwidth of the network for double precision real words. Lowkey important: mono directional links will double this communication cost. π not the mono directional links.
π ARGUMENTS π
PBCSTβ (local input/output)HPL_T_panel *β On entry,PBCSTpoints to the data structure containing the panel (to be broadcast) information. She's the broadcast baddie. π£IFLAGβ (local input/output)int *β On entry,IFLAGindicates whether or not the broadcast has already been completed. If it's not, probing will occur, and the outcome will be contained inIFLAGon exit. So like, check it on the way out bestie. πPANELβ (local input/output)HPL_T_panel *β On entry,PANELpoints to the data structure containing the panel (to be broadcast and swapped) information. Yes, both. She does it all. πNNβ (local input)const intβ On entry,NNspecifies the local number of columns of the trailing submatrix to be swapped and broadcast starting at the current position.NNmust be at least zero. Zero is fine, negative is not it. π
π¦ SEE ALSO π¦
the girlies in her group chat, all in the same (3) section:
HPL_pdgesv(3)HPL_pdgesvK2(3)HPL_pdupdateNT(3)HPL_pdupdateTT(3)HPL_pipid(3)HPL_plindx0(3)HPL_dlaswp01T(3)HPL_dlaswp02N(3)HPL_dlaswp03T(3)HPL_dlaswp04T(3)HPL_dlaswp05T(3)
okay that's the whole page, you ate that. go forth and swap your panels. π
and that's a wrap on HPL_pdlaswp00T β brought to you by HPL 2.2, dated February 24, 2016, still serving looks all these years later. bye bestie!! ππβ¨
π¦ where this page comes from
- fedora 43: hpl-doc 2.2-22.fc43 Β· LicenseRef-Callaway-BSD-with-advertising
- fedora 44: hpl-doc 2.2-23.fc44 Β· LicenseRef-Callaway-BSD-with-advertising
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms