Unified-memory CPUs against the i7-12700K
The machines that run MTL5’s device backends have a GPU that shares the CPU’s memory: the Ryzen 9 8945HS (Radeon 780M), the Mac mini M2, the Jetson Orin and the Arduino Ventuno Q (Adreno 623). This page compares their CPUs with the i7-12700K, the reference machine. Device backends against the host compares their GPUs.
Every number comes from the machine’s newest mtl5_bench session that holds
the three CPU builds, in GFLOP/s, and every result was checked against a
long-double reference. The machine cards (Benchmark Systems) have
every operation; this page takes a fixed set of them.
| build | what it measures |
|---|---|
| native | MTL5’s generic code, built for the machine (-march=native where safe) |
| native-fast | MTL5 with its SIMD kernels (Highway) |
| blas | the system BLAS and LAPACK (OpenBLAS, or Accelerate on macOS) where MTL5 dispatches to them |
- 1 thread and all cores: each session ran at 1 thread and at the cores its machine profile uses (the Sessions table gives the count). On the hybrid parts that is the performance cores only, except on the Mac mini, where macOS allows no pinning and the count is all 8 cores.
- × i7 is the machine’s rate divided by the i7’s, in the same build at 1 thread, or at each machine’s full count.
- Clock policy: a session whose clocks were not pinned (no root on the machine, or macOS) is preliminary; its numbers can move with the governor.
- n/a marks an operation the session did not run; FAIL a result that failed its check; — a result that passed its check but has no rate. The fastest build at each thread count is in bold.
Sessions
Section titled “Sessions”| machine | CPU | GPU sharing its memory | threads | clocks | BLAS | commit | session |
|---|---|---|---|---|---|---|---|
| i7-12700k | Intel Core i7-12700K (Alder Lake), 8 P-cores | — (reference) | 1, 8 | pinned | openblas | cba61d3d7f5f | 20261204T213544Z |
| ryzen-9-8945hs | AMD Ryzen 9 8945HS (Zen 4), 8 cores | AMD Radeon 780M | 1, 8 | pinned | openblas | cba61d3d7f5f | 20261204T213547Z |
| mac-mini-m2 | Apple M2, 4 performance + 4 efficiency cores | Apple M2, 10-core GPU | 1, 8 | not pinned (preliminary) | Accelerate | cba61d3d7f5f | 20261204T213543Z |
| jetson-orin | NVIDIA Orin, 6 Cortex-A78AE | NVIDIA Orin (Ampere) | 1, 6 | pinned | openblas | cba61d3d7f5f | 20261204T213544Z |
| arduino-ventuno-q | Qualcomm QCS8300, 4 Cortex-A78C (+ 4 A55, not used) | Qualcomm Adreno 623 | 1, 4 | not pinned (preliminary) | openblas | cba61d3d7f5f | 20261204T213544Z |
- mac-mini-m2: the blas build’s 1-thread runs are not single-threaded. MTL5 cannot set its BLAS library’s thread count (
blas_vendor_threads=0in the sidecar), so the library uses what it chooses at every thread count. Its 1-thread blas column, and its 1-thread blas ratio to the i7, measure the library, not one core.
Measured peaks
Section titled “Measured peaks”The session’s probes (the blas build’s): the cores’ vector FMA throughput in GFLOP/s, and the DRAM read bandwidth. They bound MTL5’s own builds, not every library: one that runs on other units can pass the FMA peak, as Accelerate’s gemm does on the Mac mini, on the M2’s matrix units.
| machine | threads | FMA peak f64 | FMA peak f32 | DRAM bandwidth (GB/s) | f64 peak × i7 | bandwidth × i7 |
|---|---|---|---|---|---|---|
| i7-12700k | 1 | 78.2 | 156 | 38.4 | 1.00 | 1.00 |
| i7-12700k | 8 | 600 | 1201 | 81.8 | 1.00 | 1.00 |
| ryzen-9-8945hs | 1 | 77.7 | 126 | 51.8 | 0.99 | 1.35 |
| ryzen-9-8945hs | 8 | 546 | 1009 | 53.1 | 0.91 | 0.65 |
| mac-mini-m2 | 1 | 55.3 | 110 | 76.9 | 0.71 | 2.00 |
| mac-mini-m2 | 8 | 272 | 545 | 75.9 | 0.45 | 0.93 |
| jetson-orin | 1 | 10.7 | 21.4 | 16.1 | 0.14 | 0.42 |
| jetson-orin | 6 | 64.3 | 129 | 34.0 | 0.11 | 0.42 |
| arduino-ventuno-q | 1 | 16.4 | 32.8 | 20.5 | 0.21 | 0.53 |
| arduino-ventuno-q | 4 | 66.4 | 132 | 24.0 | 0.11 | 0.29 |
Against the i7, in one number
Section titled “Against the i7, in one number”The geometric mean over the operations below of each machine’s rate as a multiple of the i7’s, per build. Above 1 is faster than the i7.
| machine | native, 1 thread | native-fast, 1 thread | blas, 1 thread | native, all cores | native-fast, all cores | blas, all cores |
|---|---|---|---|---|---|---|
| ryzen-9-8945hs | 0.54 | 0.50 | 0.65 | 0.52 | 0.41 | 0.41 |
| mac-mini-m2 | 0.92 | 0.88 | 2.04 | 0.65 | 0.54 | 0.76 |
| jetson-orin | 0.31 | 0.25 | 0.20 | 0.25 | 0.21 | 0.19 |
| arduino-ventuno-q | 0.48 | 0.37 | 0.30 | 0.29 | 0.26 | 0.21 |
gemm, f64
Section titled “gemm, f64”| machine | native, 1 thread | native-fast, 1 thread | blas, 1 thread | native, all cores | native-fast, all cores | blas, all cores |
|---|---|---|---|---|---|---|
| i7-12700k | 13.3 | 68.9 | 72.2 | 92.4 | 361 | 489 |
| ryzen-9-8945hs | 13.8 | 19.4 | 58.7 | 106 | 97.7 | 394 |
| mac-mini-m2 | 14.6 | 47.2 | 355 | 54.7 | 123 | 355 |
| jetson-orin | 3.57 | 6.48 | 10.1 | 12.6 | 32.7 | 55.5 |
| arduino-ventuno-q | 5.15 | 9.33 | 15.1 | 9.98 | 36.3 | 53.1 |
Problem: 512x512x512.
gemm, f32
Section titled “gemm, f32”| machine | native, 1 thread | native-fast, 1 thread | blas, 1 thread | native, all cores | native-fast, all cores | blas, all cores |
|---|---|---|---|---|---|---|
| i7-12700k | 25.2 | 140 | 146 | 173 | 713 | 1001 |
| ryzen-9-8945hs | 27.0 | 38.7 | 113 | 214 | 182 | 699 |
| mac-mini-m2 | 28.3 | 94.8 | 1372 | 99.0 | 236 | 1372 |
| jetson-orin | 7.02 | 13.1 | 20.5 | 29.9 | 65.4 | 109 |
| arduino-ventuno-q | 11.2 | 19.5 | 31.0 | 22.9 | 74.3 | 109 |
Problem: 512x512x512.
trsm, f64
Section titled “trsm, f64”| machine | native, 1 thread | native-fast, 1 thread | blas, 1 thread | native, all cores | native-fast, all cores | blas, all cores |
|---|---|---|---|---|---|---|
| i7-12700k | 13.8 | 47.6 | 62.8 | 12.2 | 60.5 | 395 |
| ryzen-9-8945hs | 3.79 | 11.1 | 38.4 | 3.77 | 19.7 | 215 |
| mac-mini-m2 | 14.5 | 33.6 | 184 | 14.1 | 32.8 | 184 |
| jetson-orin | 3.31 | 5.16 | 8.98 | 3.53 | 11.7 | 46.2 |
| arduino-ventuno-q | 5.00 | 7.42 | 13.8 | 5.48 | 16.3 | 49.2 |
Problem: 512x512x512.
gemv, f64
Section titled “gemv, f64”| machine | native, 1 thread | native-fast, 1 thread | blas, 1 thread | native, all cores | native-fast, all cores | blas, all cores |
|---|---|---|---|---|---|---|
| i7-12700k | 9.14 | 9.36 | 9.37 | 22.9 | 23.6 | 23.3 |
| ryzen-9-8945hs | 10.2 | 9.59 | 9.19 | 13.9 | 14.5 | 12.9 |
| mac-mini-m2 | 6.56 | 11.1 | 15.0 | 16.3 | 16.2 | 15.1 |
| jetson-orin | 2.60 | 2.43 | 2.66 | 6.38 | 6.23 | 7.27 |
| arduino-ventuno-q | 4.24 | 4.02 | 3.70 | 4.94 | 5.01 | 6.59 |
Problem: n=4096.
dot, f64
Section titled “dot, f64”| machine | native, 1 thread | native-fast, 1 thread | blas, 1 thread | native, all cores | native-fast, all cores | blas, all cores |
|---|---|---|---|---|---|---|
| i7-12700k | 2.98 | 4.34 | 2.92 | 12.0 | 11.8 | 12.0 |
| ryzen-9-8945hs | 1.36 | 6.73 | 1.37 | 7.31 | 7.42 | 7.33 |
| mac-mini-m2 | 6.92 | 8.26 | 6.91 | 8.32 | 8.32 | 8.30 |
| jetson-orin | 1.45 | 1.45 | 1.45 | 3.68 | 3.67 | 3.68 |
| arduino-ventuno-q | 2.95 | 2.91 | 2.94 | 3.01 | 3.00 | 3.00 |
Problem: n=8388608.
LU, f64
Section titled “LU, f64”| machine | native, 1 thread | native-fast, 1 thread | blas, 1 thread | native, all cores | native-fast, all cores | blas, all cores |
|---|---|---|---|---|---|---|
| i7-12700k | 7.67 | 7.61 | 37.6 | 12.5 | 14.2 | 75.7 |
| ryzen-9-8945hs | 2.21 | 2.23 | 22.0 | 3.42 | 3.43 | 9.95 |
| mac-mini-m2 | 4.28 | 4.27 | 80.1 | 5.34 | 5.58 | 80.1 |
| jetson-orin | 2.48 | 2.45 | 7.18 | 3.24 | 2.69 | 19.8 |
| arduino-ventuno-q | 3.60 | 3.66 | 10.0 | 4.48 | 4.47 | 22.9 |
Problem: 512x512.
Cholesky, f64
Section titled “Cholesky, f64”| machine | native, 1 thread | native-fast, 1 thread | blas, 1 thread | native, all cores | native-fast, all cores | blas, all cores |
|---|---|---|---|---|---|---|
| i7-12700k | 6.10 | 5.95 | 45.6 | 6.26 | 6.25 | 154 |
| ryzen-9-8945hs | 3.12 | 3.13 | 26.0 | 3.13 | 3.12 | 15.5 |
| mac-mini-m2 | 3.80 | 3.80 | 171 | 3.79 | 3.81 | 171 |
| jetson-orin | 1.40 | 1.41 | 8.60 | 1.40 | 1.40 | 26.7 |
| arduino-ventuno-q | 2.14 | 1.98 | 12.2 | 2.34 | 2.19 | 32.1 |
Problem: 512x512.
QR, f64
Section titled “QR, f64”| machine | native, 1 thread | native-fast, 1 thread | blas, 1 thread | native, all cores | native-fast, all cores | blas, all cores |
|---|---|---|---|---|---|---|
| i7-12700k | 0.78 | 0.76 | 36.2 | 1.43 | 1.33 | 54.1 |
| ryzen-9-8945hs | 0.22 | 0.22 | 17.1 | 0.36 | 0.36 | 15.4 |
| mac-mini-m2 | 0.77 | 0.77 | 64.3 | 1.07 | 1.01 | 64.4 |
| jetson-orin | 0.54 | 0.54 | 6.54 | 0.86 | 0.86 | 14.4 |
| arduino-ventuno-q | 0.71 | 0.73 | 9.09 | 1.20 | 1.23 | 18.6 |
Problem: 512x512.
symmetric eigenvalues, f64
Section titled “symmetric eigenvalues, f64”| machine | native, 1 thread | native-fast, 1 thread | blas, 1 thread | native, all cores | native-fast, all cores | blas, all cores |
|---|---|---|---|---|---|---|
| i7-12700k | 1.25 | 1.34 | 12.6 | 1.26 | 1.29 | 13.3 |
| ryzen-9-8945hs | 0.46 | 0.45 | 10.4 | 0.46 | 0.46 | 5.14 |
| mac-mini-m2 | 0.81 | 0.80 | 7.88 | 0.80 | 0.81 | 7.88 |
| jetson-orin | 0.37 | 0.36 | 2.15 | 0.36 | 0.37 | 3.18 |
| arduino-ventuno-q | 0.56 | 0.56 | 3.02 | 0.62 | 0.63 | 4.13 |
Problem: 256x256.
SVD, f64
Section titled “SVD, f64”| machine | native, 1 thread | native-fast, 1 thread | blas, 1 thread | native, all cores | native-fast, all cores | blas, all cores |
|---|---|---|---|---|---|---|
| i7-12700k | 3.36 | 3.98 | 54.0 | 3.41 | 4.05 | 59.2 |
| ryzen-9-8945hs | 2.45 | 2.46 | 33.7 | 2.46 | 2.45 | 27.0 |
| mac-mini-m2 | 2.27 | 2.26 | 53.1 | 2.26 | 2.26 | 53.0 |
| jetson-orin | 1.03 | 1.03 | 8.53 | 1.03 | 1.03 | 12.5 |
| arduino-ventuno-q | 1.60 | 1.60 | 12.5 | 1.79 | 1.78 | 18.7 |
Problem: 256x256.
spmv, f64
Section titled “spmv, f64”| machine | native, 1 thread | native-fast, 1 thread | blas, 1 thread | native, all cores | native-fast, all cores | blas, all cores |
|---|---|---|---|---|---|---|
| i7-12700k | 3.48 | 3.21 | 3.42 | 23.5 | 23.2 | 23.3 |
| ryzen-9-8945hs | 2.80 | 2.80 | 2.86 | 14.3 | 15.0 | 14.6 |
| mac-mini-m2 | 4.25 | 4.16 | 4.25 | 8.46 | 8.06 | 6.11 |
| jetson-orin | 1.14 | 1.15 | 1.14 | 3.11 | 3.14 | 3.12 |
| arduino-ventuno-q | 1.61 | 1.58 | 1.59 | 2.19 | 2.17 | 2.14 |
Problem: 512^2 grid, nnz 1308672.
supernodal LDLᵀ, f64
Section titled “supernodal LDLᵀ, f64”| machine | native, 1 thread | native-fast, 1 thread | blas, 1 thread | native, all cores | native-fast, all cores | blas, all cores |
|---|---|---|---|---|---|---|
| i7-12700k | 1.33 | 0.67 | 1.33 | 1.30 | 1.22 | 1.32 |
| ryzen-9-8945hs | 0.59 | 0.65 | 0.65 | 0.60 | 0.70 | 0.60 |
| mac-mini-m2 | 1.23 | 1.23 | 1.22 | 1.20 | 1.20 | 1.20 |
| jetson-orin | 0.31 | 0.31 | 0.31 | 0.31 | 0.31 | 0.31 |
| arduino-ventuno-q | 0.42 | 0.42 | 0.42 | 0.45 | 0.45 | 0.45 |
Problem: 96^2 grid, nnz 45696.