Text this: Optimization of Computations on Related Sets in CUDA