Arm Compute Library: ML Kernels for Arm CPUs & GPUs
Arm Compute Library is Arm's own low-level machine learning and computer vision kernels, hand-tuned for Cortex-A, Neoverse, and Mali GPU hardware rather than a general math library. Reach for it if you're shipping inference on Arm silicon and want kernels tuned to specific convolution algorithms and data types; skip it if you need a full inference framework instead of the blocks underneath one.
What is the Arm Compute Library?
The Arm Compute Library is a C++ library of low-level machine learning and computer vision functions that ARM-software maintains on GitHub for Cortex-A, Neoverse, Cortex-R, Cortex-X1 CPUs and Mali-G/Mali-T GPUs. It's a set of building blocks — convolution, GEMM, and vision kernels — meant to be integrated into a larger application rather than run as a standalone tool, and per the README's own architecture list, it also runs on x86.
Key Features for Arm ML Acceleration
- ✓The README credits the library with more than 100 ML functions spanning both CPU and GPU execution paths.
- ✓Convolution runs through several algorithm choices instead of one fixed path — Winograd, FFT, direct convolution, indirect GeMM, or plain GeMM — so you can match the algorithm to a given layer's shape.
- ✓Data type coverage spans FP32, FP16, INT8, UINT8, and BFLOAT16, letting you trade precision for throughput per operator.
- ✓Micro-architecture-level tuning of key ML primitives targets the specific Cortex-A/Neoverse/Mali hardware rather than generic SIMD code.
- ✓Build options are configurable enough to produce lightweight binaries, instead of always shipping the whole function set.
- ✓Optimization techniques include kernel fusion, a fast-math mode, and texture utilization on the GPU path, per the README.
- ✓An OpenCL tuner plus GeMM-specific optimization heuristics let you tune for a particular device and workload rather than relying on one fixed configuration.
- ✓MIT-licensed, with third-party pieces like the KleidiAI library folded in under Apache License 2.0.
Who Should Use This Library?
Arm Compute Library is aimed at developers building the inference or vision layer of an application that runs on Arm hardware — Cortex-A/Neoverse-based phones, servers, or embedded boards, or devices with a Mali GPU. It suits engineers who already know which convolution algorithm and data type they need and want a kernel library to drop under their own code, not people looking for a turnkey model-serving app. If you want a high-level framework that picks kernels for you, this library sits a layer below what you're after.
Getting Started with the Compute Library
The README doesn't inline build commands — it points to a separate build guide (how_to_build.xhtml) hosted alongside the reference API docs, so the exact command sequence isn't part of what's documented here; treat that guide as the source of truth. What the README does confirm: pre-built binaries are downloadable straight from the project's GitHub Releases page, compiled with a set of hardening flags (-Wall, -Wextra, -fstack-protector-strong, and similar). Bazel and CMake build paths exist but are flagged as experimental and CPU-only. A static library name change is also coming: libarm_compute-static.a becomes libarm_compute.a in pre-built binaries, beginning with whichever release Arm ships first in January 2026 or later, per the README's own notice.
Strengths
- ✓Kernel coverage is specific and wide for the domain: over 100 functions across multiple convolution algorithms and five data types, per the README.
- ✓Hardware targeting goes deeper than generic Arm support — separate tuning is called out for Cortex-A, Neoverse, Cortex-R, and Cortex-X1, plus Mali-G and Mali-T GPU families.
- ✓MIT license with no proprietary strings, and the README lists every third-party component's own license (Apache 2.0 for KleidiAI and the OpenCL headers, BSD-3-Clause for GoogleTest) instead of leaving that undocumented.
- ✓Pre-built binaries are compiled with a documented set of hardening flags (stack protection, format-security warnings, and more), which is unusual to see spelled out in a README.
- ✓A public contribution path exists: a DCO sign-off process and an open mailing list ([email protected]) rather than a closed, Arm-internal-only process.
Considerations for Using Compute Library
- △No inline build or usage instructions in the README — you have to leave GitHub and read the hosted docs site before you can compile or call anything.
- △The library is only building blocks, not a runnable application or a model-serving framework — you still have to write the code that calls these kernels.
- △Bazel and CMake builds are explicitly marked experimental and CPU-only, so GPU builds likely depend on whichever build system the full guide actually recommends.
- △The static library filename is changing (libarm_compute-static.a to libarm_compute.a), effective from whichever release Arm ships first in January 2026 or later — a break to account for if your build scripts pin the old name.
- △The facts here don't include a documented version number or release cadence, so there's no way to state how mature or stable the current release is beyond what the README itself says.
Broader ML Optimization Options
Common Questions
The Arm Compute Library is released under the MIT license, and the README also lists the licenses of the third-party components it bundles, such as Apache License 2.0 for KleidiAI and the OpenCL headers.
Compute Library targets Arm Cortex-A, Arm Neoverse, Arm Cortex-R (Armv8-R AArch64), and Arm Cortex-X1 CPUs using Neon technology, plus Arm Mali-G and Mali-T GPU families, per the README's supported-architectures list.
Compute Library's README lists x86 among its supported architectures and technologies, alongside the Arm Cortex-A/Neoverse/Cortex-R/Cortex-X1 CPU families and Mali GPUs — so x86 support is documented, though the README doesn't detail how it compares to the Arm-tuned path.
Compute Library's README lists Android, Linux, macOS, Tizen, and Bare Metal as supported systems, plus OpenBSD, QNX, and FreeBSD marked experimental.
Contributions to Compute Library go through a Developer Certificate of Origin sign-off — you add a 'Signed-off-by' line with your real name to each commit — and technical discussion happens on the public [email protected] mailing list, per the README.
Pre-built binaries for Compute Library are available from the project's GitHub Releases page, compiled with a documented set of hardening flags such as -fstack-protector-strong and -Wformat-security. The static library filename is also changing, from libarm_compute-static.a to libarm_compute.a, effective from whichever release ships first in January 2026 or later.
The problem it solves
Hand-optimizing convolution and vision kernels for every combination of Arm CPU generation, Mali GPU family, and data type is a lot of duplicated low-level work for any team shipping inference on Arm hardware — get the Neon or OpenCL code wrong for a given micro-architecture and you leave performance on the table without knowing it. The Compute Library exists to hand developers that already-tuned kernel layer — per-architecture Neon and OpenCL implementations across FP32/FP16/INT8/UINT8/BFLOAT16 — so application code calls a function instead of hand-rolling assembly or OpenCL for Cortex-A, Neoverse, or Mali silicon.
Best use cases
- •Building the inference backend of a computer-vision or ML application deployed on Arm-based phones, embedded boards, or Neoverse servers, where you want kernels already tuned to the target core.
- •Picking a specific convolution algorithm — GeMM, Winograd, FFT, Direct, or indirect-GeMM — per layer instead of accepting whatever a higher-level framework chooses for you.
- •Shipping a lightweight binary by using the library's configurable build options to include only the functions and data types the application actually calls.
- •Tuning a deployment for one specific device and workload with the OpenCL tuner and GeMM-specific heuristics, rather than shipping one generic configuration to every device.
- •Studying or contributing to Arm-specific SIMD/Neon and OpenCL kernel code as a systems-level exercise, given the public mailing list and DCO-based contribution process.
How to use
Day-to-day API usage isn't shown in the README itself — no code snippets or example calls are included in the facts available here. The README instead directs developers to the hosted reference API documentation, which also covers changelogs, the build guide, the contribution guide, and errata, so treat that documentation site as the place to learn the actual function signatures and call patterns.
Related repositories
Curious whether ComputeLibrary is right for you?
Let ChatGPT, Claude, or Perplexity look into it — click below and see what AI actually says about ComputeLibrary.
