HPL_indxg2p(3)
π HPL_indxg2p β the glow-up edition π
okay bestie, you're in the HPL library function docs, section 3 (library calls), and today's main character is HPL_indxg2p. she maps a global index into a process coordinate. yes she's that girl. let's get into it π«Ά
β¨ NAME β¨
HPL_indxg2p β Map a global index into a process coordinate. literally her whole job. no notes. π
πΈ SYNOPSIS πΈ
#include "hpl.h"
int HPL_indxg2p( const int IG, const int INB, const int NB, const int
SRCPROC, const int NPROCS );
π¦ DESCRIPTION π¦
so HPL_indxg2p computes the process coordinate that possesses the entry of a matrix specified by a global index IG. that's it, that's the vibe β global index goes in, process coordinate comes out. π
π ARGUMENTS π
IGβ (input)const intβ on entry,IGspecifies the global index of the matrix entry. and listen,IGmust be at least zero. no negatives, babe, that's the rule. πINBβ (input)const intβ on entry,INBspecifies the size of the first block of the global matrix.INBmust be at least one. so one or more, periodt. β¨NBβ (input)const intβ on entry,NBspecifies the blocking factor used to partition and distribute the matrixA.NBmust be larger than one. like, strictly bigger than one. one is not invited to this party. πSRCPROCβ (input)const intβ on entry,SRCPROCspecifies the coordinate of the process that possesses the first row or column of the matrix.SRCPROCmust be at least zero and strictly less thanNPROCS. so valid range, bestie, please. π§NPROCSβ (input)const intβ on entry,NPROCSspecifies the total number of process rows or columns over which the matrix is distributed.NPROCSmust be at least one. π
π₯ SEE ALSO π₯
HPL_indxg2l(3)HPL_indxg2p(3)HPL_indxl2g(3)HPL_numroc(3)HPL_numrocI(3)
(yes, HPL_indxg2p references herself in SEE ALSO. self-love icon behavior. we respect it. π)
okay a tiny heads-up for real: those constraints onIG,INB,NB,SRCPROCandNPROCSare not suggestions. feed her bad numbers and that's on you, not on her. π«Ά
and that's the page, bestie!! this one shipped with HPL 2.2, dated February 24, 2016 β old money, still iconic. go forth and map those indices. slay. βπ π
π¦ 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