Skip to content
fn

gpu_descending_order

int gpu_descending_order(const int & a, int axis, int k)

The positions of the k largest values along axis, largest first, equal values lowest index first and NaN, which sorts as the largest, before every number.