https://hgpu.org/?p=940
Scan primitives for GPU computing