HPL_numrocI(3)
π HPL_numrocI π
okay so bestie, welcome to the HPL Library Functions corner of the manual β yes, that's the manual name, and yes, it's iconic. today's main character is HPL_numrocI, and she's here to tell you exactly how many rows or columns a given process is gonna get. no cap.
β¨ NAME β¨
HPL_numrocI β compute the local number of row/columns. π«Ά
πΈ SYNOPSIS πΈ
#include "hpl.h"
int HPL_numrocI( const int N, const int I, const int INB, const int NB,
const int PROC, const int SRCPROC, const int NPROCS );
π¦ DESCRIPTION π¦
so like, HPL_numrocI returns the local number of matrix rows/columns that process PROC will get if we give out N rows/columns starting from global index I. that's it, that's the vibe. it's giving "count the pieces for me before I hand them out." π
π ARGUMENTS π
N(input)const intβ on entry,Nspecifies the number of rows/columns being dealt out. bestie,Nmust be at least zero. β¨I(input)const intβ on entry,Ispecifies the global index of the matrix entry.Imust be at least zero. π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. π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. π§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. π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. β
fr fr, those bounds are not decorative. every single one of them is a real requirement, so don't come at this function with a zeroINBor an out-of-rangePROCand act surprised. π
π₯ SEE ALSO π₯
HPL_indxg2l(3)HPL_indxg2lp(3)HPL_indxg2p(3)HPL_indxl2g(3)HPL_numroc(3)
and that's the whole page, bestie π this one's from HPL 2.2, dated February 24, 2016 β so yeah, she's a little vintage but she still ate. 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