HPL_max(3)

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

✨ NAME ✨

HPL_max β€” bestie, this one combines (max) two buffers πŸ’–

So like, it's an HPL Library function, and its whole personality is taking two buffers and maxing them together. Obsessed.


🌸 SYNOPSIS 🌸

#include "hpl.h"

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

There she is πŸ‘‘ the whole signature, no cap.


πŸ¦‹ DESCRIPTION πŸ¦‹

HPL_max combines (max) two buffers. That's it, that's the vibe πŸ’… it takes two buffers and combines them with a max operation. Lowkey iconic, highkey useful.


πŸŽ€ ARGUMENTS πŸŽ€

  • N β€” (input) const int

On entry, N specifies the length of the buffers to be combined. And listen, N must be at least zero, fr fr πŸ™ˆ no negative lengths allowed, that's not the vibe.

  • IN β€” (input) const void *

On entry, IN points to the input-only buffer to be combined. She's input-only, bestie β€” she gives, she does not receive πŸ’œ

  • 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 energy honestly.

  • DTYPE β€” (input) const HPL_T_TYPE

On entry, DTYPE specifies the type of the buffers operands. Like, she needs to know what kind of data she's working with, periodt.


🌈 SEE ALSO 🌈

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

Go read those too, bestie, the whole friend group is slaying 🫢


Okay that's the whole page!! This was HPL 2.2, dated February 24, 2016 β€” yes she's a little vintage but she still ate πŸ’– and it's from the HPL Library Functions collection. Mwah, go combine some buffers πŸŽ€βœ¨

πŸ“¦ where this page comes from