Oct. 6 (UPI) -- The S&P 500 and the Nasdaq closed at record highs Monday after ChatGPT-maker OpenAI and Advanced Micro Devices reached a mega-deal that ignited a rally, despite the U.S. government shutdown entering its second week.

Chipmaker AMD shares closed 23.71% higher as the tech-heavy Nasdaq Composite rose 0.71% to end the day at a new record high of 22,941.67. The S&P 500 gained 0.36% to close at 6,740.28. Despite record closes for the Nasdaq and S&P, the Dow Jones Industrial Average dropped 0.1%.

AMD, one of Nvidia's key rivals, announced earlier Monday it had agreed to a multi-year deal to supply chips to OpenAI, which could end-up taking a 10% stake in the chipmaker.

"Excited to partner with AMD to use their chips to serve our users!" Sam Altman, OpenAI co-founder and chief executive officer, wrote in a post on X.

Related