HPL_indxg2p(3)

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

πŸ’– HPL_indxg2p β€” the glow-up edition πŸ’–

okay bestie, you're in the HPL library function docs, section 3 (library calls), and today's main character is HPL_indxg2p. she maps a global index into a process coordinate. yes she's that girl. let's get into it 🫢


✨ NAME ✨

HPL_indxg2p β€” Map a global index into a process coordinate. literally her whole job. no notes. πŸ’…


🌸 SYNOPSIS 🌸

#include "hpl.h"

int HPL_indxg2p( const int IG, const int INB, const int NB, const int
SRCPROC, const int NPROCS );

πŸ¦‹ DESCRIPTION πŸ¦‹

so HPL_indxg2p computes the process coordinate that possesses the entry of a matrix specified by a global index IG. that's it, that's the vibe β€” global index goes in, process coordinate comes out. πŸŽ€


πŸ‘‘ ARGUMENTS πŸ‘‘

  • IG β€” (input) const int β€” on entry, IG specifies the global index of the matrix entry. and listen, IG must be at least zero. no negatives, babe, that's the rule. πŸ’€
  • INB β€” (input) const int β€” on entry, INB specifies the size of the first block of the global matrix. INB must be at least one. so one or more, periodt. ✨
  • 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. like, strictly bigger than one. one is not invited to this party. πŸ™ˆ
  • 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. so valid range, bestie, please. 🧚
  • 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. 🌈

πŸ”₯ SEE ALSO πŸ”₯

  • HPL_indxg2l (3)
  • HPL_indxg2p (3)
  • HPL_indxl2g (3)
  • HPL_numroc (3)
  • HPL_numrocI (3)

(yes, HPL_indxg2p references herself in SEE ALSO. self-love icon behavior. we respect it. πŸ’–)


okay a tiny heads-up for real: those constraints on IG, INB, NB, SRCPROC and NPROCS are not suggestions. feed her bad numbers and that's on you, not on her. 🫢

and that's the page, bestie!! this one shipped with HPL 2.2, dated February 24, 2016 β€” old money, still iconic. go forth and map those indices. slay. β­πŸ’…πŸŽ€

πŸ“¦ where this page comes from