Each table compares one operation on a machine’s GPU with the same operation on
its CPU. Every number comes from an mtl5_bench session of a device build
(benchmarks/platform.sh --variants cuda, metal, hip or vulkan), in GFLOP/s, and
every result was checked against a long-double reference. The fastest memory
space at each size is in bold.
Above each table, a chart shows the same numbers: GFLOP/s against the matrix
order n, both on log scales. Colour names the machine; the line style names
where the operation runs: solid for the CPU, dashed for the GPU on device
memory, dotted for the GPU including the copies to and from it. Shared memory
is in the tables only, to keep each chart to three lines a machine. Hovering a
point in a chart opened on its own shows its value.
| space | operands | what is timed |
|---|
| host | host memory | the host path in the same binary: the system BLAS/LAPACK where the build found one, else MTL5’s generic code |
| device | device memory | the GPU operation only |
| shared | shared (managed) memory | the GPU operation, including any page migration |
| copy | host memory | copy to the device, the operation, copy the result back |
- Threads: each machine’s newest session is shown, at the highest thread
count published in it; the Sessions table gives the count.
- A factorization’s GPU time includes MTL5’s checks: the copy of the input
it keeps, and reading the diagonal back to decide whether the host must
finish it (see the backend pages under Architecture).
- n/a marks a size the runtime was not run at (a space with no size run,
such as Metal’s
f64, is a note under its table); FAIL a result that failed its check; — a result that passed its
check but has no rate. A size with any of these settles no crossover.
The reference row is the i7-12700K’s CPU on the same problems
(benchmarks/platform.sh --variants cpu, the host rows alone: the machine has
no GPU runtime). Under each table, a note gives the size from which each GPU
beats its own CPU, and a second the size from which it beats the reference.
Unified-memory CPUs against the i7-12700K compares
the CPUs.
To add a machine, run a device variant there and publish the session
(benchmarks/README.md), then rerun this script.
| machine | runtime | device | toolkit | host library | threads | class | commit | session |
|---|
| i7-12700k (reference) | cpu | — | — | openblas | 8 | medium | 00be0014881c | 20261204T232542Z |
| arduino-ventuno-q | vulkan | Adreno623 | Vulkan headers 1.3.275 | openblas | 4 | medium | 00be0014881c | 20261204T231653Z |
| jetson-orin | cuda | Orin | CUDA 12.6.68 | openblas | 6 | medium | 00be0014881c | 20261204T231652Z |
| mac-mini-m2 | metal | Apple M2 | Metal, Darwin 25.4.0 | Accelerate | 8 | medium | 00be0014881c | 20261204T231652Z |

| machine | runtime | space | n = 256 | n = 512 | n = 1024 | n = 2048 |
|---|
| i7-12700k (reference) | cpu | host | 906 | 1013 | 1098 | 1105 |
| arduino-ventuno-q | vulkan | host | 99.2 | 110 | 120 | 123 |
| arduino-ventuno-q | vulkan | device | 10.6 | 15.9 | 17.6 | 17.4 |
| arduino-ventuno-q | vulkan | shared | 10.7 | 15.9 | 17.3 | 17.4 |
| arduino-ventuno-q | vulkan | copy | 9.92 | 16.1 | 17.1 | 17.4 |
| jetson-orin | cuda | host | 91.1 | 109 | 113 | 117 |
| jetson-orin | cuda | device | 428 | 854 | 1152 | 1202 |
| jetson-orin | cuda | shared | 244 | 723 | 1120 | 1197 |
| jetson-orin | cuda | copy | 123 | 224 | 529 | 795 |
| mac-mini-m2 | metal | host | 1078 | 1370 | 1391 | 1150 |
| mac-mini-m2 | metal | device | 150 | 792 | 2103 | 2717 |
| mac-mini-m2 | metal | shared | 153 | 756 | 2057 | 2698 |
| mac-mini-m2 | metal | copy | 33.7 | 225 | 695 | 1294 |
- arduino-ventuno-q, vulkan: the GPU beats the host in device memory at no size measured; with the copies at no size measured.
- arduino-ventuno-q, vulkan: the GPU beats the i7-12700k’s CPU in device memory at no size measured; with the copies at no size measured.
- jetson-orin, cuda: the GPU beats the host in device memory from n = 256 on; with the copies from n = 256 on.
- jetson-orin, cuda: the GPU beats the i7-12700k’s CPU in device memory from n = 1024 on; with the copies at no size measured.
- mac-mini-m2, metal: the GPU beats the host in device memory from n = 1024 on; with the copies from n = 2048 on.
- mac-mini-m2, metal: the GPU beats the i7-12700k’s CPU in device memory from n = 1024 on; with the copies from n = 2048 on.

| machine | runtime | space | n = 256 | n = 512 | n = 1024 | n = 2048 |
|---|
| i7-12700k (reference) | cpu | host | 419 | 497 | 524 | 528 |
| arduino-ventuno-q | vulkan | host | 57.8 | 58.0 | 58.3 | 58.5 |
| jetson-orin | cuda | host | 50.9 | 55.6 | 56.0 | 56.3 |
| jetson-orin | cuda | device | 24.0 | 25.0 | 25.2 | 25.2 |
| jetson-orin | cuda | shared | 23.2 | 24.9 | 25.2 | 25.2 |
| jetson-orin | cuda | copy | 15.7 | 22.9 | 24.0 | 24.7 |
| mac-mini-m2 | metal | host | 339 | 355 | 318 | 265 |
- arduino-ventuno-q, vulkan: device, shared and copy not measured (vulkan does not compute in f64).
- jetson-orin, cuda: the GPU beats the host in device memory at no size measured; with the copies at no size measured.
- jetson-orin, cuda: the GPU beats the i7-12700k’s CPU in device memory at no size measured; with the copies at no size measured.
- mac-mini-m2, metal: device, shared and copy not measured (metal does not compute in f64).

| machine | runtime | space | n = 1024 | n = 2048 | n = 4096 |
|---|
| i7-12700k (reference) | cpu | host | 468 | 274 | 58.7 |
| arduino-ventuno-q | vulkan | host | 18.6 | 13.5 | 12.9 |
| arduino-ventuno-q | vulkan | device | 2.42 | 3.89 | 5.59 |
| arduino-ventuno-q | vulkan | shared | 2.26 | 3.36 | 5.69 |
| arduino-ventuno-q | vulkan | copy | 0.90 | 1.78 | 2.79 |
| jetson-orin | cuda | host | 25.0 | 17.5 | 14.8 |
| jetson-orin | cuda | device | 24.9 | 34.9 | 42.2 |
| jetson-orin | cuda | shared | 14.7 | 28.8 | 39.6 |
| jetson-orin | cuda | copy | 2.14 | 3.52 | 3.40 |
| mac-mini-m2 | metal | host | 118 | 61.5 | 29.0 |
| mac-mini-m2 | metal | device | 9.67 | 21.9 | 35.3 |
| mac-mini-m2 | metal | shared | 7.40 | 21.2 | 35.0 |
| mac-mini-m2 | metal | copy | 1.73 | 2.89 | 2.95 |
- arduino-ventuno-q, vulkan: the GPU beats the host in device memory at no size measured; with the copies at no size measured.
- arduino-ventuno-q, vulkan: the GPU beats the i7-12700k’s CPU in device memory at no size measured; with the copies at no size measured.
- jetson-orin, cuda: the GPU beats the host in device memory from n = 2048 on; with the copies at no size measured.
- jetson-orin, cuda: the GPU beats the i7-12700k’s CPU in device memory at no size measured; with the copies at no size measured.
- mac-mini-m2, metal: the GPU beats the host in device memory from n = 4096 on; with the copies at no size measured.
- mac-mini-m2, metal: the GPU beats the i7-12700k’s CPU in device memory at no size measured; with the copies at no size measured.

| machine | runtime | space | n = 1024 | n = 2048 | n = 4096 |
|---|
| i7-12700k (reference) | cpu | host | 236 | 61.2 | 22.9 |
| arduino-ventuno-q | vulkan | host | 7.78 | 6.43 | 6.60 |
| jetson-orin | cuda | host | 10.5 | 7.82 | 7.28 |
| jetson-orin | cuda | device | 11.9 | 15.0 | 18.9 |
| jetson-orin | cuda | shared | 9.36 | 13.8 | 18.3 |
| jetson-orin | cuda | copy | 1.65 | 1.61 | 1.71 |
| mac-mini-m2 | metal | host | 77.4 | 17.1 | 11.6 |
- arduino-ventuno-q, vulkan: device, shared and copy not measured (vulkan does not compute in f64).
- jetson-orin, cuda: the GPU beats the host in device memory from n = 1024 on; with the copies at no size measured.
- jetson-orin, cuda: the GPU beats the i7-12700k’s CPU in device memory at no size measured; with the copies at no size measured.
- mac-mini-m2, metal: device, shared and copy not measured (metal does not compute in f64).

| machine | runtime | space | n = 256 | n = 512 | n = 1024 | n = 2048 |
|---|
| i7-12700k (reference) | cpu | host | 59.0 | 131 | 242 | 421 |
| arduino-ventuno-q | vulkan | host | 22.2 | 32.9 | 48.3 | 72.6 |
| jetson-orin | cuda | host | 13.5 | 27.8 | 45.3 | 65.5 |
| jetson-orin | cuda | device | 9.47 | 12.9 | 53.2 | 178 |
| jetson-orin | cuda | shared | 5.46 | 12.1 | 51.1 | 172 |
| jetson-orin | cuda | copy | 8.60 | 12.0 | 48.3 | 153 |
| mac-mini-m2 | metal | host | 67.6 | 130 | 164 | 132 |
| mac-mini-m2 | metal | device | 2.95 | 11.9 | 47.5 | 148 |
| mac-mini-m2 | metal | shared | 3.01 | 12.3 | 47.8 | 145 |
| mac-mini-m2 | metal | copy | 2.52 | 10.8 | 43.9 | 134 |
- arduino-ventuno-q, vulkan: device, shared and copy not measured (vulkan has no device factorizations yet).
- jetson-orin, cuda: the GPU beats the host in device memory from n = 1024 on; with the copies from n = 1024 on.
- jetson-orin, cuda: the GPU beats the i7-12700k’s CPU in device memory at no size measured; with the copies at no size measured.
- mac-mini-m2, metal: the GPU beats the host in device memory from n = 2048 on; with the copies from n = 2048 on.
- mac-mini-m2, metal: the GPU beats the i7-12700k’s CPU in device memory at no size measured; with the copies at no size measured.

| machine | runtime | space | n = 256 | n = 512 | n = 1024 | n = 2048 |
|---|
| i7-12700k (reference) | cpu | host | 46.9 | 77.5 | 160 | 175 |
| arduino-ventuno-q | vulkan | host | 13.8 | 22.2 | 32.7 | 40.0 |
| jetson-orin | cuda | host | 9.97 | 18.8 | 26.9 | 36.4 |
| jetson-orin | cuda | device | 4.65 | 8.12 | 16.6 | 21.7 |
| jetson-orin | cuda | shared | 3.97 | 7.97 | 16.3 | 21.6 |
| jetson-orin | cuda | copy | 3.81 | 7.64 | 15.6 | 20.9 |
| mac-mini-m2 | metal | host | 51.3 | 80.2 | 108 | 96.7 |
- arduino-ventuno-q, vulkan: device, shared and copy not measured (vulkan does not compute in f64).
- jetson-orin, cuda: the GPU beats the host in device memory at no size measured; with the copies at no size measured.
- jetson-orin, cuda: the GPU beats the i7-12700k’s CPU in device memory at no size measured; with the copies at no size measured.
- mac-mini-m2, metal: device, shared and copy not measured (metal does not compute in f64).

| machine | runtime | space | n = 256 | n = 512 | n = 1024 | n = 2048 |
|---|
| i7-12700k (reference) | cpu | host | 80.1 | 215 | 479 | 710 |
| arduino-ventuno-q | vulkan | host | 30.4 | 48.7 | 67.7 | 89.8 |
| jetson-orin | cuda | host | 20.0 | 39.8 | 64.3 | 86.8 |
| jetson-orin | cuda | device | 9.90 | 36.5 | 91.3 | 234 |
| jetson-orin | cuda | shared | 3.82 | 25.5 | 82.8 | 218 |
| jetson-orin | cuda | copy | 8.02 | 28.1 | 67.9 | 165 |
| mac-mini-m2 | metal | host | 206 | 436 | 317 | 573 |
| mac-mini-m2 | metal | device | 16.0 | 72.4 | 148 | 300 |
| mac-mini-m2 | metal | shared | 146 | 306 | 277 | 504 |
| mac-mini-m2 | metal | copy | 8.68 | 39.6 | 94.7 | 191 |
- arduino-ventuno-q, vulkan: device, shared and copy not measured (vulkan has no device factorizations yet).
- jetson-orin, cuda: the GPU beats the host in device memory from n = 1024 on; with the copies from n = 1024 on.
- jetson-orin, cuda: the GPU beats the i7-12700k’s CPU in device memory at no size measured; with the copies at no size measured.
- mac-mini-m2, metal: the GPU beats the host in device memory at no size measured; with the copies at no size measured.
- mac-mini-m2, metal: the GPU beats the i7-12700k’s CPU in device memory at no size measured; with the copies at no size measured.

| machine | runtime | space | n = 256 | n = 512 | n = 1024 | n = 2048 |
|---|
| i7-12700k (reference) | cpu | host | 64.8 | 153 | 250 | 339 |
| arduino-ventuno-q | vulkan | host | 21.3 | 31.9 | 39.4 | 48.3 |
| jetson-orin | cuda | host | 15.7 | 26.0 | 39.2 | 45.6 |
| jetson-orin | cuda | device | 2.97 | 6.52 | 12.8 | 18.1 |
| jetson-orin | cuda | shared | 2.01 | 5.82 | 12.5 | 18.0 |
| jetson-orin | cuda | copy | 2.30 | 5.98 | 11.6 | 17.1 |
| mac-mini-m2 | metal | host | 109 | 171 | 146 | 167 |
- arduino-ventuno-q, vulkan: device, shared and copy not measured (vulkan does not compute in f64).
- jetson-orin, cuda: the GPU beats the host in device memory at no size measured; with the copies at no size measured.
- jetson-orin, cuda: the GPU beats the i7-12700k’s CPU in device memory at no size measured; with the copies at no size measured.
- mac-mini-m2, metal: device, shared and copy not measured (metal does not compute in f64).