Massively Parallel Algorithm for Solving the Eikonal Equation on Multiple Accelerator Platforms