HPL_all_reduce(3)
π HPL_all_reduce(3) π
okay so bestie, welcome to HPL_all_reduce, a function from the HPL library (that's HPL Library Functions, for the record) and it's literally about to become your new fave. this is a manpage. yes a real one. no cap. let's get into it π«Ά
β¨ NAME β¨
HPL_all_reduce β All reduce operation. that's the whole name. short, sweet, iconic π
πΈ SYNOPSIS πΈ
#include "hpl.h"
int HPL_all_reduce( void * BUFFER, const int COUNT, const HPL_T_TYPE
DTYPE, const HPL_T_OP OP, MPI_Comm COMM );
look at that signature. chef's kiss. π
π¦ DESCRIPTION π¦
HPL_all_reduce performs a global reduce operation across all processes of a group, and β this is the good part β it leaves the results on all processes. not just one lucky winner. everybody eats. πβ¨
π ARGUMENTS π
BUFFERβ(local input/global out void *β On entry,BUFFERpoints to the buffer to be combined. On exit, this array contains the combined data and is identical on all processes in the group. so like, everyone ends up matching. friendship bracelets fr fr. π«ΆCOUNTβ(global input) const intβ On entry,COUNTindicates the number of entries inBUFFER.COUNTmust be at least zero. (yes, zero is allowed. negative? absolutely not, don't even try it π)DTYPEβ(global input) const HPL_T_TYPEβ On entry,DTYPEspecifies the type of the buffers operands. tell it what kind of data you're working with, bestie. it needs to know. πOPβ(global input) const HPL_T_OPβ On entry,OPis a pointer to the local combine function. this is the little guy that does the actual combining. main character energy, honestly. βCOMMβ(global/local input) MPI_Commβ The MPI communicator identifying the process collection. it's the group chat. who's in it. who's getting the results. all of that. π¬
π SEE ALSO π
HPL_broadcast (3), HPL_reduce (3), HPL_barrier (3), HPL_min (3), HPL_max (3), HPL_sum (3).
go read those too, they're all part of the same little squad and they're all lowkey serving π₯
and that's the whole page, bestie!! this was HPL 2.2, dated February 24, 2016 β written by the HPL Library Functions girlies, and yeah, the version is old but it ATE and it's still iconic. k bye, go reduce something globally πβ¨π
π¦ 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