HPL_indxl2g(3)

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

✨ HPL_indxl2g ✨

okay so bestie, welcome to HPL_indxl2g from the HPL Library Functions crew (section 3 of the manual, she's a real one πŸ’…). this lil function is the glow-up translator between "local girlie" coordinates and "global main character" coordinates and honestly? she ate.


🌸 NAME 🌸

HPL_indxl2g β€” map a index-process pair into a global index.


πŸŽ€ SYNOPSIS πŸŽ€

#include "hpl.h"

int HPL_indxl2g( const int IL, const int INB, const int NB, const int
PROC, const int SRCPROC, const int NPROCS );

πŸ’– DESCRIPTION πŸ’–

so basically, HPL_indxl2g computes the global index of a matrix entry that's being pointed to by the local index IL of the process indicated by PROC. it's giving translator energy fr fr β€” you hand her the local deets, she hands you back the global truth. πŸ¦‹


✨ ARGUMENTS ✨

  • IL β€” (input) const int β€” on entry, IL specifies the local index of the matrix entry. IL must be at least zero. no negatives bestie, we don't do that 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. 🌟
  • 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. periodt, bigger than one, that's the vibe check. πŸŽ€
  • PROC β€” (input) const int β€” on entry, PROC specifies the coordinate of the process whose local array row or column is to be 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. she's the origin girlie, the source of truth, the one holding the first row or column. 🫢
  • 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. at least one, always. 🌈

πŸ¦‹ SEE ALSO πŸ¦‹

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

if you liked this one, the whole index-translation friend group is right there, go say hi. iykyk. πŸ’œ


ngl, this is HPL 2.2, dated February 24, 2016 β€” so yeah, she's been iconic for a minute. lowkey obsessed with her longevity. not me getting emotional over a manpage at 2am 😭 πŸ’– ✨

🌸 stay mapping, bestie 🌸

πŸ“¦ where this page comes from