Transformations exploiting array syntax in Fortran for accelerator programming