FILE PHOTO: A Tesla Supercharger station is shown in Cabazon, California, U.S. May 18, 2016. REUTERS/Sam Mircovich/File Photo

(Reuters) - Electric carmaker Tesla Inc TSLA.O is working with Advanced Micro Devices Inc AMD.O to develop its own artificial intelligence chip for self-driving cars, CNBC reported on Wednesday, citing a source familiar with the matter.

AMD spin-off GlobalFoundries Inc Chief Executive Sanjay Jha said his company is working directly with Tesla, according to the CNBC report. (cnb.cx/2fBgrkQ)

GlobalFoundries, which fabricates chips, has a wafer supply agreement in place with AMD.

Tesla isn’t completely going it alone in chip development, according to the source, and will build on top of AMD intellectual property, CNBC reported.

More than 50 people are working on the project under Jim Keller, a longtime chip architect and the head of Autopilot hardware and software of Tesla, according to the report.

AMD shares were up 2.2 percent in extended trading.

Tesla, AMD, and GlobalFoundries did not immediately respond to requests for comment.