Samsung and AMD earnings got a boost from the AI boom