Resource Management For Efficient Single-Isa Heterogeneous Computing