The deal is valued at approximately $8.2 billion and will make Li, a Stanford computer science professor, chief scientist at AMD.