Efficient High Performance Computing on Heterogeneous Platforms