https://hgpu.org/?p=3257
2D and 3D level-set algorithms on GPU