Prioritizing CPU over GPU and vise-versa