HPL_indxl2g(3)
β¨ HPL_indxl2g β¨
okay so bestie, welcome to HPL_indxl2g from the HPL Library Functions crew (section 3 of the manual, she's a real one π ). this lil function is the glow-up translator between "local girlie" coordinates and "global main character" coordinates and honestly? she ate.
πΈ NAME πΈ
HPL_indxl2g β map a index-process pair into a global index.
π SYNOPSIS π
#include "hpl.h"
int HPL_indxl2g( const int IL, const int INB, const int NB, const int
PROC, const int SRCPROC, const int NPROCS );
π DESCRIPTION π
so basically, HPL_indxl2g computes the global index of a matrix entry that's being pointed to by the local index IL of the process indicated by PROC. it's giving translator energy fr fr β you hand her the local deets, she hands you back the global truth. π¦
β¨ ARGUMENTS β¨
ILβ (input)const intβ on entry,ILspecifies the local index of the matrix entry.ILmust be at least zero. no negatives bestie, we don't do that here. πINBβ (input)const intβ on entry,INBspecifies the size of the first block of the global matrix.INBmust be at least one. πNBβ (input)const intβ on entry,NBspecifies the blocking factor used to partition and distribute the matrixA.NBmust be larger than one. periodt, bigger than one, that's the vibe check. πPROCβ (input)const intβ on entry,PROCspecifies the coordinate of the process whose local array row or column is to be determined.PROCmust be at least zero and strictly less thanNPROCS. π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. she's the origin girlie, the source of truth, the one holding the first row or column. π«Ά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. at least one, always. π
π¦ SEE ALSO π¦
HPL_indxg2l(3)HPL_indxg2lp(3)HPL_indxg2p(3)HPL_numroc(3)HPL_numrocI(3)
if you liked this one, the whole index-translation friend group is right there, go say hi. iykyk. π
ngl, this is HPL 2.2, dated February 24, 2016 β so yeah, she's been iconic for a minute. lowkey obsessed with her longevity. not me getting emotional over a manpage at 2am π π β¨
πΈ stay mapping, 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