MLX
 
Loading...
Searching...
No Matches
ThreadSort< ValT, IdxT, ARG_SORT, N_PER_THREAD, CompareOp > Struct Template Reference

#include <sort.h>

Static Public Member Functions

static METAL_FUNC void sort (thread ValT(&vals)[N_PER_THREAD], thread IdxT(&idxs)[N_PER_THREAD])
 

Member Function Documentation

◆ sort()

template<typename ValT, typename IdxT, bool ARG_SORT, short N_PER_THREAD, typename CompareOp>
static METAL_FUNC void ThreadSort< ValT, IdxT, ARG_SORT, N_PER_THREAD, CompareOp >::sort ( thread ValT(&) vals[N_PER_THREAD],
thread IdxT(&) idxs[N_PER_THREAD] )
inlinestatic

The documentation for this struct was generated from the following file: