https://hgpu.org/?p=5615
Randomized selection on the GPU