HPL_numroc(3)
π HPL_numroc(3) π
okay bestie, welcome to the HPL Library Functions corner of the man pages β this one's called HPL_numroc and it's lowkey iconic. pull up a chair, grab a strawberry π, we're doing distributed matrix math together.
β¨ NAME β¨
HPL_numroc β Compute the local number of row/columns. (yes that's the whole job. she does one thing and she does it slayfully π
)
πΈ SYNOPSIS πΈ
#include "hpl.h"
int HPL_numroc( const int N, const int INB, const int NB, const int
PROC, const int SRCPROC, const int NPROCS );
π¦ DESCRIPTION π¦
so here's the vibe: HPL_numroc returns the local number of matrix rows/columns that process PROC will get if we give out N rows/columns starting from global index 0. that's it. that's the whole plot. no cap. π«Ά
π ARGUMENTS π
N(input)const intβ on entry,Nspecifies the number of rows/columns being dealt out.Nmust be at least zero, bestie, we do NOT do negative here. π«INB(input)const intβ on entry,INBspecifies the size of the first block of the global matrix.INBmust be at least one. (that first block is special, she's the main character π)NB(input)const intβ on entry,NBspecifies the blocking factor used to partition and distribute the matrixA.NBmust be larger than one. fr fr.PROC(input)const intβ on entry,PROCspecifies the coordinate of the process whose local portion is determined.PROCmust be at least zero and strictly less thanNPROCS. so like, stay in your lane, literally. π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. yes she's also bound byNPROCS, no exceptions. π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. the whole squad, the entire group chat. π
β SEE ALSO β
HPL_indxg2l(3)HPL_indxg2lp(3)HPL_indxg2p(3)HPL_indxl2g(3)HPL_numrocI(3)
the whole friend group, go say hi π
and that's the tea!! this page is from HPL 2.2, dated February 24, 2016 β yeah she's an elder but she ATE and left no crumbs, periodt. β¨ππ
π¦ 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