A general tridiagonal solver for coprocessors: Adapting g-Spike for the Intel Xeon Phi