fix cpu gpu OC method