ランキングに戻る

ARM-software/ComputeLibrary

C++

The Compute Library is a set of computer vision and machine learning functions optimised for both Arm CPUs and GPUs using SIMD technologies.

neonopenclcomputer-visionarmarmv7armv8aarch64machine-learningsimdandroidcppneural-network
スター成長
スター
3.2k
フォーク
820
週間成長
Issue
3
1k2k3k
2023年1月2024年3月2025年5月2026年7月
README

[!IMPORTANT] Static Library Name Change

  • libarm_compute-static.a will be renamed to libarm_compute.a in distributed pre-built binaries.
  • This change will be in effect starting from the first release in or after Jan 2026.



Compute Library acl-release-shield

The Compute Library is a collection of low-level machine learning functions optimized for Arm® Cortex®-A, Arm® Neoverse™ and Arm® Mali™ GPUs architectures.

The library provides superior performance to other open source alternatives and immediate support for new Arm® technologies e.g. SVE2.

Key Features:

  • Open source software available under a permissive MIT license
  • Over 100 machine learning functions for CPU and GPU
  • Multiple convolution algorithms (GeMM, Winograd, FFT, Direct and indirect-GeMM)
  • Support for multiple data types: FP32, FP16, INT8, UINT8, BFLOAT16
  • Micro-architecture optimization for key ML primitives
  • Highly configurable build options enabling lightweight binaries
  • Advanced optimization techniques such as kernel fusion, Fast math enablement and texture utilization
  • Device and workload specific tuning using OpenCL tuner and GeMM optimized heuristics

Documentation

docs-shield

Note: The documentation includes the reference API, changelogs, build guide, contribution guide, errata, etc.


Pre-built binaries

All the binaries can be downloaded from here.


Pre-build binaries are generated with the following security / good coding practices related flags:

-Wall, -Wextra, -Wformat=2, -Winit-self, -Wstrict-overflow=2, -Wswitch-default, -Woverloaded-virtual, -Wformat-security, -Wctor-dtor-privacy, -Wsign-promo, -Weffc++, -pedantic, -fstack-protector-strong

Supported Architectures/Technologies

  • Arm® CPUs:

    • Arm® Cortex®-A processor family using Arm® Neon™ technology
    • Arm® Neoverse™ processor family
    • Arm® Cortex®-R processor family with Armv8-R AArch64 architecture using Arm® Neon™ technology
    • Arm® Cortex®-X1 processor using Arm® Neon™ technology
  • Arm® Mali™ GPUs:

    • Arm® Mali™-G processor family
    • Arm® Mali™-T processor family
  • x86


Supported Systems

  • Android™
  • Bare Metal
  • Linux®
  • OpenBSD® (Experimental)
  • macOS®
  • Tizen™
  • QNX® (Experimental)
  • FreeBSD® (Experimental)

Resources


Experimental builds

⚠ Important Bazel and CMake builds are experimental CPU only builds, please see the documentation for more details.


How to contribute

Contributions to the Compute Library are more than welcome. If you are interested in contributing, please have a look at our how to contribute guidelines.

Developer Certificate of Origin (DCO)

Before the Compute Library accepts your contribution, you need to certify its origin and give us your permission. To manage this process we use the Developer Certificate of Origin (DCO) V1.1 (https://developercertificate.org/)

To indicate that you agree to the the terms of the DCO, you "sign off" your contribution by adding a line with your name and e-mail address to every git commit message:

Signed-off-by: John Doe <john.doe@example.org>

You must use your real name, no pseudonyms or anonymous contributions are accepted.

Public mailing list

For technical discussion, the ComputeLibrary project has a public mailing list: acl-dev@lists.linaro.org The list is open to anyone inside or outside of Arm to self subscribe. In order to subscribe, please visit the following website: https://lists.linaro.org/mailman3/lists/acl-dev.lists.linaro.org/


License and Contributions

The software is provided under MIT license. Contributions to this project are accepted under the same license.

Other Projects

This project contains code from other projects as listed below. The original license text is included in those source files.

  • The OpenCL header library is licensed under Apache License, Version 2.0, which is a permissive license compatible with MIT license.

  • The half library is licensed under MIT license.

  • The libnpy library is licensed under MIT license.

  • The stb image library is either licensed under MIT license or is in Public Domain. It is used by this project under the terms of MIT license.

  • The KleidiAI library is licensed under Apache License, Version 2.0.

  • The GoogleTest library is used by KleidiAI and is licensed under BSD-3-Clause license.

  • The Benchmark library is used by KleidiAI and is licensed under Apache License, Version 2.0.


Trademarks and Copyrights

Android is a trademark of Google LLC.

Arm, Cortex, Mali and Neon are registered trademarks or trademarks of Arm Limited (or its subsidiaries) in the US and/or elsewhere.

Bazel is a trademark of Google LLC., registered in the U.S. and other countries.

CMake is a trademark of Kitware, Inc., registered in the U.S. and other countries.

Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.

Mac and macOS are trademarks of Apple Inc., registered in the U.S. and other countries.

Tizen is a registered trademark of The Linux Foundation.

Windows® is a trademark of the Microsoft group of companies.

QNX® is a trademark of QNX, a division of BlackBerry.

FreeBSD® is a registered trademark of The FreeBSD Foundation.

関連リポジトリ
simdjson/simdjson

Parsing gigabytes of JSON per second : used by Facebook/Meta Velox, the Node.js runtime, ClickHouse, WatermelonDB, Apache Doris, Milvus, StarRocks

C++Apache License 2.0jsonjson-parser
simdjson.org
24k1.3k
kriasoft/react-starter-kit

Modern React starter kit with Bun, TypeScript, Tailwind CSS, tRPC, Stripe, and Cloudflare Workers. Production-ready monorepo for building fast web apps.

TypeScriptnpmMIT Licensereactboilerplate
reactstarter.com
23.6k4.2k
RyanCodrai/turbovec

A vector index built on TurboQuant, written in Rust with Python bindings

PythonPyPIMIT Licenseannavx512
pypi.org/project/turbovec/
13.7k1.2k
vercel/next-forge

Production-grade Turborepo template for Next.js apps.

TypeScriptnpmMIT Licensenextjsprisma
next-forge.com
7.1k661
google/highway

Performance-portable, length-agnostic SIMD with runtime dispatch

C++Othersimdsimd-instructions
5.7k448
haydenbleasel/next-forge

Production-grade Turborepo template for Next.js apps.

TypeScriptnpmMIT Licensenextjsprisma
next-forge.com
5.5k443
XiaoMi/mace

MACE is a deep learning inference framework optimized for mobile heterogeneous computing platforms.

C++Apache License 2.0deep-learningneural-network
5k822
OpenNMT/CTranslate2

Fast inference engine for Transformer models

C++MIT Licenseneural-machine-translationcpp
opennmt.net/CTranslate2
4.6k502
NervanaSystems/neon

Intel® Nervana™ reference deep learning framework committed to best performance on all hardware

PythonPyPIApache License 2.0deep-learningpython
neon.nervanasys.com/docs/latest
3.9k804
crafter-station/petdex

The public gallery of animated pet for Codex, Claude Code, OpenCode y Gemini CLI

TypeScriptnpmMIT Licenseclaude-codeclerk
petdex.dev
3.5k151
simd-everywhere/simde

Implementations of SIMD instruction sets for systems which don't natively support them.

CMIT Licensesimd-intrinsicssse
simd-everywhere.github.io/blog/
3.1k320
recp/cglm

📽 Highly Optimized 2D / 3D Graphics Math (glm) for C

CMIT Licensemathvector
3k286