HPL_min(3)

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

πŸ’– HPL_min β€” bestie edition πŸ’–

ok so this is a page from the HPL Library Functions manual, and the function we're hyping up today is HPL_min(3). she's short, she's sweet, and she does exactly one thing: min. let's get into it 🫢


✨ NAME ✨

HPL_min β€” Combine (min) two buffers. that's it. that's the whole job. iconic behavior honestly πŸ’…


🌸 SYNOPSIS 🌸

#include "hpl.h"

void HPL_min( const int N, const void * IN, void * INOUT, const
HPL_T_TYPE DTYPE );

like. look at her. four little arguments and she's done. no cap πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

ok so here's the tea: HPL_min combines (min) two buffers. that's literally the entire description, bestie, the manpage is not beating the "short and mysterious" allegations today. she takes two buffers and min-combines them, periodt ✨


πŸ‘‘ ARGUMENTS πŸ‘‘

  • N β€” (input) const int β€” On entry, N specifies the length of the buffers to be combined. and btw, N must be at least zero. no negative vibes allowed, fr fr πŸ’€
  • IN β€” (input) const void * β€” On entry, IN points to the input-only buffer to be combined. she's read-only, she's not changing for anybody πŸ’œ
  • INOUT β€” (input/output) void * β€” On entry, INOUT points to the input-output buffer to be combined. On exit, the entries of this array contain the combined results. so she goes in as one thing and comes out transformed β€” main character arc, truly 🌈
  • DTYPE β€” (input) const HPL_T_TYPE β€” On entry, DTYPE specifies the type of the buffers operands. she needs to know what she's working with before she starts, and honestly? same πŸ“

πŸ”₯ SEE ALSO πŸ”₯

the girlies in her group chat, all mutuals, all worth a follow:

  • HPL_broadcast (3)
  • HPL_reduce (3)
  • HPL_all_reduce (3)
  • HPL_barrier (3)
  • HPL_max (3)
  • HPL_sum (3)

lowkey a note for you specifically: N has to be at least zero. that's not a suggestion, that's the rule, and the manpage said it, so i'm saying it. πŸ’…

ok that's the whole page bestie, you ate that reading session, go forth and min your buffers βœ¨πŸ’–

this has been HPL_min(3) from HPL 2.2, dated February 24, 2016 β€” mwah, bye πŸŽ€πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from