HPL_max(3)
β¨ 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
- 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