Skip to content
All experiments

About 7×

faster GPU matrix maths on a Snapdragon 8 Elite, through OpenCL, than on a Dimensity 9500s, through Vulkan

Hardware, 13 and 27 July 2026

Snapdragon 8 Elite against Dimensity 9500s.

What an ordinary app, with no control over the whole phone and no chipmaker's private tools, can do for AI on two flagship phone chips: the CPU, the GPU, the NPU (the chip built for AI) and training on the phone.

The phones, and the words used here

The phones
The Snapdragon 8 Elite sat in Qualcomm's reference phone (QRD), a test phone in Qualcomm's cloud. The Dimensity 9500s sat in a retail POCO X8 Pro Max, a Xiaomi phone. Each chip has a CPU, a GPU and an NPU.
adb and Termux
adb is a debugging connection that runs programs on a phone from a computer. Termux is an ordinary app with a terminal, so programs in it get only an app's access.
OpenCL and Vulkan
The two ways a program drives a phone's GPU for maths. Each phone's software decides which of them apps may use.
Inference and training
Inference runs a trained model. Training adjusts its numbers, the weights, to cut its error on examples: a forward pass makes a guess, and a backward pass works out each change.
Prefill and decode
Prefill reads the prompt, many tokens (small pieces of text) at once. Decode writes the reply, one token at a time.
llama.cpp and ggml
llama.cpp runs language models on a CPU or a GPU; ggml is the maths library under it, also used for the matrix and training tests. The model is Gemma 3 1B, a small Google model with about a billion weights, quantized: stored in about 4 bits (Q4_K_M), smaller and faster at some cost in accuracy.
Matrix maths
Multiplying grids of numbers, the core of a model; some GPUs have matrix units built for it. A 1024³ test multiplies two 1024-by-1024 grids. Speeds are in GOPS or GFLOP/s, billions of calculations a second.

What we found

  • The Snapdragon leads every measured workload

    On the QRD against the POCO: about 3× on a small NPU test, 2.4 to 2.6× running a language model on the CPU, and about 7× on GPU matrix maths, with OpenCL against Vulkan.

  • The best split differs on each chip

    Prefill ran fastest on the Snapdragon's GPU but on the Dimensity's CPU. Decode ran fastest on the Snapdragon's CPU; on the Dimensity, GPU and CPU are too close to call.

  • Both NPUs run models, and neither one's public software can train them

    Each chip's public NPU software has no steps that update weights, and locks them in when a model is prepared for the NPU.

  • They are open in opposite places

    The Dimensity's OpenCL is closed to apps, so only Vulkan worked. The Snapdragon's OpenCL is listed open to apps and worked over adb, while its Vulkan failed on quantized models.

  • GPU training runs fully on the Snapdragon, partly on the Dimensity

    A tiny model trained through Vulkan. The Snapdragon's GPU ran every step and matched its CPU's final error exactly. The Dimensity's needed its matrix units off, left the backward pass to the CPU, and ended at an error of 0.30, against 0.13 on its CPU.

The results

Every workload, measured on both phones

The QRD against the POCO, with the same workloads on both. Each GPU ran through the route that works for all of these tests: OpenCL on the Snapdragon, Vulkan on the Dimensity. Each row has its own scale; tok/s is tokens a second. A bar is solid to the low end of a range and faint to the high end.

Snapdragon 8 EliteDimensity 9500s

  • NPU, 8 layers in 8-bit numbers, best of 30 runs

    GOPS

    About 3×

    8 Elite 4,307
    D9500s 1,100 to 1,470
  • Gemma 3 1B prefill on the CPU

    tok/s

    About 2.6×

    8 Elite 171 to 173
    D9500s 58 to 74
  • Gemma 3 1B decode on the CPU

    tok/s

    About 2.4×

    8 Elite 62 to 64
    D9500s 22 to 31
  • Gemma 3 1B prefill on the GPU, OpenCL against Vulkan

    tok/s

    About 18×

    8 Elite 717 to 723
    D9500s about 39
  • Gemma 3 1B decode on the GPU, OpenCL against Vulkan

    tok/s

    About 1.6×

    8 Elite 41.5 to 42.5
    D9500s about 27
  • GPU matrix multiplication in 32-bit numbers, OpenCL against Vulkan

    GFLOP/s. Each GPU against its own CPU: 6.9× and 1.7×

    About 7×

    8 Elite 479
    D9500s 67
  • GPU training step for one model layer, OpenCL against Vulkan

    GFLOP/s. Each GPU against its own CPU: 6.5× and 1.1×

    About 9×

    8 Elite 403
    D9500s 42.9

Ranges are two runs on the Snapdragon, and warm and cold runs on the POCO; multiples use the middle. The NPU test is small, so its numbers are a floor, not either NPU's peak, and in the Dimensity's logged session its average latency was about 2× its best (3.85 against 1.95 ms). With Vulkan on both GPUs, the Snapdragon's matrix maths at 1024³ was about 3× the Dimensity's (110 against 37 GFLOP/s); through OpenCL it was about 11×.

Gemma 3 1B on each processor of each phone

Gemma 3 1B in tokens per second. Neither NPU appears: the study found no ready NPU build of the model for either chip. On the Dimensity, neither decode bar is marked the pick.

Snapdragon 8 Elite

Prefill

  • GPU, OpenCL717 to 723, the pick
  • CPU171 to 173

Decode

  • GPU, OpenCL41.5 to 42.5
  • CPU62 to 64, the pick

Dimensity 9500s

Prefill

  • GPU, Vulkanabout 39
  • CPU58 to 74, the pick

Decode

  • GPU, Vulkanabout 27
  • CPU22 to 31

What ordinary code could use on each chip

The POCO ran everything as an app, in Termux. The QRD ran everything over adb, as root, so its OpenCL and NPU count as open to apps because the phone lists the libraries they need as public, not because an app was tested.

RouteSnapdragon 8 EliteDimensity 9500s
CPUWorksWorks
GPU through OpenCLWorks, from adbBlocked for apps
GPU through VulkanFails on quantized modelsWorks
NPU, inferenceWorks, from adbWorks
NPU, trainingNoNo
GPU, training a small modelWorks, same error as the CPUWorks with matrix units off and the backward pass on the CPU; higher error
Every test, side by sideThe full comparison, including APIs and trainingShow
NPU
8 Elite: Hexagon HTP V79
D9500s: MDLA (NPU 890)
NPU runtime access
8 Elite: QNN runtime public on Maven Central, over public FastRPC
D9500s: NeuroPilot 8.2.26, preinstalled as public system libraries
NPU test, 8 int8 layers of 32×2048×2048, best of 30 runs
8 Elite: 4,307 GOPS, 0.50 ms; the average was the same
D9500s: 1,100 to 1,470 GOPS, 1.46 to 1.95 ms; one run averaged 3.85 ms
NPU inference, 16-bit (fp16)
8 Elite: 1,089 GFLOP/s
D9500s: Runs, not quantified
CPU
8 Elite: 2× Oryon at 4.09 GHz and 6× at 2.78 GHz
D9500s: 1× X925 at 3.73 GHz, 3× X4 and 4× A720
Gemma 3 1B Q4, CPU prefill and decode, 8 threads
8 Elite: 171 to 173 and 62 to 64 tok/s
D9500s: 58 to 74 and 22 to 31 tok/s
GPU
8 Elite: Adreno 830
D9500s: Immortalis-G925 MC11
Gemma 3 1B Q4, GPU prefill and decode
8 Elite: 717 to 723 and 41.5 to 42.5 tok/s, OpenCL
D9500s: About 39 and about 27 tok/s, Vulkan
GPU matrix multiplication, 4096³, 32-bit (f32) inputs
8 Elite: 479 GFLOP/s on OpenCL, 6.9× its CPU
D9500s: 67 GFLOP/s on Vulkan, 1.7× its CPU
The same at 1024³, Vulkan on both
8 Elite: 110 GFLOP/s (422 on OpenCL)
D9500s: 37 GFLOP/s
Transformer-layer training step at D=1024, GPU and CPU
8 Elite: 403 and 62.5 GFLOP/s, 6.5×, OpenCL; 113.6 on Vulkan
D9500s: 42.9 and 39.3 GFLOP/s, 1.1×, Vulkan; 50.3 and 36.9, 1.4×, at D=2048
GPU training of a small MLP (ggml, AdamW)
8 Elite: Vulkan, no workaround; final loss 0.125, the same as its CPU
D9500s: Vulkan with GGML_VK_DISABLE_COOPMAT=1, backward pass on the CPU in that build; final loss 0.30 against 0.13 on its CPU

How we ran it

Phones
Dimensity 9500s (mt6991) in the POCO. Snapdragon 8 Elite (SM8750) in the QRD, on Qualcomm Device Cloud.
NPU workload
8 chained int8 fully connected layers, M=32 and K=N=2048, plus a single fp16 layer, timed over 30 runs; the page reports the best. The Snapdragon used QNN 2.42 through ONNX Runtime 1.27.0 in burst mode; the Dimensity used NeuroPilot 8.2.26 directly.
LLM workload
llama.cpp's llama-bench, Gemma 3 1B Q4_K_M, a 128-token prompt and 64 generated tokens, two runs, the CPU at 8 threads.
GPU workload
ggml f32 mul_mat at 1024, 2048 and 4096 cubed; the charts use 4096. The Snapdragon ran OpenCL at ggml's default precision setting; the Dimensity ran Vulkan with its matrix units (coopmat) and f32 accumulation, its fastest setting at 4096.
Training step
One transformer layer's forward and backward matrix multiplications, 72·D²·T calculations for a layer of width D over T tokens, at D=1024 and T=2048 on both chips, with the precision settings above.
CPU baselines
Each GPU against its own CPU uses ggml's CPU backend with no thread count set, which runs 4 threads.
Small-model training
The same 385-parameter MLP, AdamW, MSE, 60 epochs, on each GPU through Vulkan and on its CPU.

Limits

Access paths
The QRD ran over adb from a folder free of the rules on which system libraries an app may load.
NPU drivers
MediaTek's NPU library was called directly. Qualcomm's QNN runtime is public, but calling it directly needs headers from a gated SDK, so it ran through ONNX Runtime with CPU fallback off. Both measure a quantized model running wholly on the NPU.
llama.cpp builds
MediaTek numbers were taken on 2026-07-13 on the then-current llama.cpp, with no commit recorded; Snapdragon numbers on commit 8e8681e on 2026-07-27. Treat small differences between the chips accordingly. The older build had no Vulkan kernel for OUT_PROD, which ggml uses for every matrix gradient, so the Dimensity's GPU training ran its backward pass on the CPU.
Thermals
A rerun of the POCO on 27 July in Ultimate mode, the top performance setting of HyperOS (Xiaomi's Android), while charging lifted its CPU prefill only from 74 to 79 tokens a second. Late in that 17-minute back-to-back run its GPU matrix maths had fallen from 67 to 45 GFLOP/s, with heat, charging and the screen being on all playing a part. The QRD, a larger reference phone with no fan, idled cool between tests and repeated within about 4 to 7% across a back-to-back suite like the POCO's.
Scope
Longer prompts, other models and power use were not measured.

Sources

Keep reading

All experiments
  • 25% to 62%

    closer to the original model with AWQ than with GPTQ, reading long text

    OpenWeights, 19 to 22 November 2026

    Rounding a model to 4 bits: RTN, GPTQ and AWQ

    ExecuPack turns open models into files the OpenWeights app runs on a phone, with the weights stored in 4 bits. The same three models and file format, four ways to choose those 4-bit values: plain rounding (RTN), GPTQ, AWQ, and AWQ followed by GPTQ. Which keeps a model closest to the original?

    Alpha Romer Coma

  • 3.8×

    faster writing 7.9k tokens into a text: Qwen3 1.7B on a phone's CPU with an 8-bit cache instead of 32-bit

    OpenWeights, 20 and 21 November 2026

    Shrinking the KV cache on a phone

    A model keeps a running memory of the conversation, the KV cache, and reads all of it to write each new token. Stored in 8 bits instead of 32 on a phone's CPU, or in 16 on its GPU, where the arithmetic drops to 16 bits too: how much faster and smaller it gets, and what it does to the answers. Four models, with windows (the most text a file can hold) of 2k to 32k tokens.

    Alpha Romer Coma

  • 8.6× against 0.85×

    NPU against CPU at reading prompts, median across models, Snapdragon then MediaTek; prompts took 1 to 16% of the time

    OpenWeights, 15 to 17 November 2026

    Prefill and decode on Dimensity 9300+ and Snapdragon 8 Gen 3

    A Galaxy Tab S10+ tablet (Dimensity 9300+) and a Galaxy S24 Ultra phone (Snapdragon 8 Gen 3), on the same models and turns: which processor, the CPU, the GPU or the NPU (the chip built for AI), should read the prompt (prefill) and which should write the reply (decode). Each run first waited up to 2 minutes for the device to cool, which the tablet managed far more often than the phone.

    Alpha Romer Coma