AMD shares gained after analysts raised price targets, citing demand for AI chips and a stronger growth outlook.