Geometric algorithms on CUDA