Approximate Inverse Preconditioners for Krylov Methods on Heterogeneous Parallel Computers