HPL_numroc(3)

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

πŸ’– 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, N specifies the number of rows/columns being dealt out. N must be at least zero, bestie, we do NOT do negative here. 🚫
  • INB (input) const int β€” on entry, INB specifies the size of the first block of the global matrix. INB must be at least one. (that first block is special, she's the main character πŸ‘‘)
  • 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. fr fr.
  • 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. so like, stay in your lane, literally. πŸ™ˆ
  • 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. yes she's also bound by NPROCS, no exceptions. πŸ’€
  • 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. 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