Modeling and predicting performance of high performance computing applications on hardware accelerators