https://hgpu.org/?p=10161
Counting and Occurrence Sort for GPUs using an Embedded Language