HPL_numrocI(3)

πŸ“¦ version 2.2, in fedora 43, fedora 44

πŸ’– 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, N specifies the number of rows/columns being dealt out. bestie, N must be at least zero. ✨
  • I (input) const int β€” on entry, I specifies the global index of the matrix entry. I must be at least zero. πŸ’œ
  • INB (input) const int β€” on entry, INB specifies the size of the first block of the global matrix. INB must be at least one. πŸ“
  • NB (input) const int β€” on entry, NB specifies the blocking factor used to partition and distribute the matrix A. NB must be larger than one. πŸ‘‘
  • PROC (input) const int β€” on entry, PROC specifies the coordinate of the process whose local portion is determined. PROC must be at least zero and strictly less than NPROCS. 🧚
  • SRCPROC (input) const int β€” on entry, SRCPROC specifies the coordinate of the process that possesses the first row or column of the matrix. SRCPROC must be at least zero and strictly less than NPROCS. 🌈
  • NPROCS (input) const int β€” on entry, NPROCS specifies the total number of process rows or columns over which the matrix is distributed. NPROCS must 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 zero INB or an out-of-range PROC and 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