Published in PC Hardware

MIT tells you how fast your code will run on different chips

by on07 January 2020


Uses machine learning tool

Massachusetts Institute of Technology (MIT) boffins have developed a new machine learning-based tool that will tell you how fast code can run on various chips.

The big idea is that it will help developers fine tune their applications for specific processor architectures.

Traditionally, developers used the performance model of compilers through a simulation to run basic blocks of code in order to gauge the performance of a chip. However, these performance models are not often validated through real-life processor performance.

WMIT researchers developed an AI model called Ithmel by training it to predict how fast a chip can run unknown basic blocks. Later, it was supported by a database called BHive with 300,000 basic blocks from specialized fields such as machine learning, cryptography, and graphics.

The team of researchers presented a paper at the NeuralIPS conference in December to describe a new technique to measure code performance on various processors. The paper also describes Vemal, a new automatically generating algorithm that can be used to generate compiler optimisations.

Michael Carbin, a co-author of the paper and an assistant professor in the Department of Electrical Engineering and Computer Science (EECS), said since modern chips are complex and opaque this new tool will help developers make apps for a variety of architectures.

Carbin said the next step is to figure out why the model predicting certain cycles for a processor model. Developers can use this level of data to further tune their applications.

Last modified on 07 January 2020
Rate this item
(1 Vote)

Read more about: