HPL_plindx10(3)
π NAME π β HPL_plindx10(3) from the HPL Library Functions, bestie
HPL_plindx10 β Compute the logarithmic maps for the spreading. That's the whole vibe. It's giving "math but make it cute," no cap. π
β¨ SYNOPSIS β¨
#include "hpl.h"
void HPL_plindx10( HPL_T_panel * PANEL, const int K, const int * IPID,
int * IPLEN, int * IPMAP, int * IPMAPM1 );
π¦ DESCRIPTION π¦
HPL_plindx10 computes three arrays β IPLEN, IPMAP and IPMAPM1 β that contain the logarithmic mapping information for the spreading phase. Three arrays, one job, and the job is logarithmic mapping info for the spreading phase. periodt. π«Ά
π ARGUMENTS π
PANELβ (local input/output)HPL_T_panel *β On entry,PANELpoints to the data structure containing the panel information. iconic. πKβ (global input)const intβ On entry,Kspecifies the number of entries inIPID.Kis at least2*N, and at most4*N. so like, it has a range, bestie, don't freestyle it. β¨IPIDβ (global input)const int *β On entry,IPIDis an array of lengthK. The firstKentries of that array contain the src and final destination resulting from the application of the interchanges. yes, the firstKentries β and the array is lengthK, she's thorough, okay? πIPLENβ (global output)int *β On entry,IPLENis an array of dimensionNPROW + 1. On exit, this array is such thatIPLEN[i]is the number of rows ofAin the processes before processIMAP[i]after the sort, with the convention thatIPLEN[nprow]is the total number of rows. In other words,IPLEN[i+1] - IPLEN[i]is the local number of rows ofAthat should be moved for each process.IPLENis such that the number of rows of the source process row can be computed asIPLEN[1] - IPLEN[0], and the remaining entries of this array are sorted so that the quantitiesIPLEN[i+1] - IPLEN[i]are logarithmically sorted. lowkey a lot, but we move. πIPMAPβ (global output)int *β On entry,IPMAPis an array of dimensionNPROW. On exit, this array contains the logarithmic mapping of the processes. In other words,IPMAP[myrow]is the corresponding sorted process coordinate. main character mapping energy. πIPMAPM1β (global output)int *β On entry,IPMAPM1is an array of dimensionNPROW. On exit, this array contains the inverse of the logarithmic mapping contained inIPMAP:IPMAPM1[ IPMAP[i] ] = i, for alliin[0.. NPROW). it's giving inverse, it's giving "put it back where it came from." π₯
π SEE ALSO π
HPL_pdlaswp00N (3)HPL_pdlaswp00T (3)HPL_pdlaswp01N (3)HPL_pdlaswp01T (3)
go read those next, bestie, they're the friend group. π
mwah π this page was brought to you by HPL 2.2, dated February 24, 2016, and it's literally HPL_plindx10(3). stay logarithmic, stay slay. πβ¨
π¦ 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