A unified mapping framework for heterogeneous computing systems and computational grids