Reply to post: Auto-vectorization

Finally, a good use for AI: Machine-learning tool guesstimates how well your code will run on a CPU core

Michael Wojcik Silver badge


The third paper mentioned at the end of the article, on auto-vectorization, also uses an ANN approach, but here it's a graph neural network (specifically a Gated Graph Neural Network), with a classic multiple-layer perceptron stack and softmax on top to derive the output. Also, this network is trained using supervised and imitation learning, rather than the unsupervised learning used for the modeling network in the first paper. If you're interested in the use of ANNs in code optimization, the two make for an interesting comparison of what techniques work in different areas.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon


Biting the hand that feeds IT © 1998–2020