https://hgpu.org/?p=8812
Rethinking resampling in the particle filter on graphics processing units