Unify a bit decideWhetherToUseGpusForPme* functions