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

#include <sort.h>

Static Public Member Functions

static METAL_FUNC void sort (thread val_t(&vals)[N_PER_THREAD], thread idx_t(&idxs)[N_PER_THREAD])
 

Member Function Documentation

◆ sort()

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

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