HPL_pnum(3)
π HPL_pnum β Rank Determination π
okay so bestie, welcome to HPL_pnum(3), one of the lil' gems in the HPL Library Functions section of the HPL 2.2 manual π
this one's short, sweet, and lowkey iconic β it's the glow-up from "where are you in the grid" to "who even are you (numerically)".
β¨ SYNOPSIS β¨
#include "hpl.h"
int HPL_pnum( const HPL_T_grid * GRID, const int MYROW, const int MYCOL );
πΈ DESCRIPTION πΈ
HPL_pnum figures out the rank of a process based on its coordinates in the grid. That's it. That's the whole vibe. You hand it where you are in the grid, it hands you back your rank number. fr fr, it's giving "you are your coordinates' main character moment" β¨
π ARGUMENTS π
GRID(local input) βconst HPL_T_grid *On entry,GRIDpoints to the data structure holding all the process grid information. It's the map, the whole map, nothing but the map πΊοΈMYROW(local input) βconst intOn entry,MYROWis the row coordinate of the process whose rank we're hunting down. Real talk:MYROWmust be greater than or equal to zero and less thanNPROW. No skipping the rules, bestie πMYCOL(local input) βconst intOn entry,MYCOLis the column coordinate of the process whose rank we're after. Same deal, periodt:MYCOLmust be greater than or equal to zero and less thanNPCOL. Stay in your lane (literally, it's a grid) π
π SEE ALSO π
HPL_grid_init (3)HPL_grid_info (3)HPL_grid_exit (3)
that's the whole page, no notes. go find your rank, bestie, you've earned it π«Ά
HPL 2.2 β February 24, 2016 π mwah, xoxo, grid out β¨
π¦ 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