Skip to main content

gpu_sort_radix

Function gpu_sort_radix 

Source
pub fn gpu_sort_radix(data: &[u64]) -> Vec<u64>
Expand description

Sort a slice of u64 values using a radix sort (counting sort) mock.

This is a stable sort over the full 64-bit key space, implemented here as a mock using counting-sort passes over 8 bits at a time (8 passes). Returns a new sorted Vec.