What is it about?

Recent Apple devices have three processors for machine-learning work: the CPU, the GPU, and the Apple Neural Engine (ANE). Apple does not document the speed or the energy use of the ANE. Here, the ANE is measured directly alongside the GPU and CPU of an M5 Pro laptop. We use these measurements to build a model that predicts the speed and the energy cost of a computation on each processor.

Featured Image

Why is it important?

Battery life and heat limit machine learning on laptops and phones. Before this work, no public measurements showed when the ANE is the better processor. For every workload tested, the ANE draws 1.02 to 3.8 times less power than the GPU. The ANE is also faster for convolutions, whereas the GPU is faster for large matrix products. The open-source code and data allow the measurements to be repeated on any Apple-silicon Mac.

Perspectives

I started this work to use the ANE for scientific computing and found no published numbers for its speed or its power. The measurements contradicted the single-line roofline model that I started with. The code is written so that others can repeat the measurements on their own machines.

Spencer Bryngelson
University of Texas at Austin

Read the Original

This page is a summary of: A Predictive, Per-Engine Energy Roofline of the Apple Neural Engine, ACM Transactions on Architecture and Code Optimization, November 2026, ACM (Association for Computing Machinery),
DOI: 10.1145/3864456.
You can read the full text:

Read

Contributors

The following have contributed to this page