self-adaptive heterogeneous acceleration