Cache optimization for CPU-GPU heterogeneous processors∗