Text this: CUDA Optimization of a Class of Iterative Linear Algebra Solvers