Elffuss BraidHub

kikocis/kleidiai public

Branch: main
655592420abd fix: Improve SME2 F32 elastic GEMM kernel performance Viet-Hoa Do,
..
benchmark/
cmake/
include/
kai/
scripts/
tests/
toolchains/
.cmake-format.py8.6 KiB
.gitignore219 B
CMakeLists.txt3.9 KiB
CMakePresets.json5.2 KiB
CMakePresets.json.license144 B
DEVELOPMENT.md775 B
README.md1.1 KiB

README.md

Introduction

WARNING: The software in this directory is currently experimental.

This directory contains an experimental open-source AI operator-level library providing highly optimized General Matrix Multiply (GEMM) and convolution kernels for Arm® architectures. The library includes specialized implementations for various data types (FP32, FP16, BF16, INT8, INT16, quantized), with support for advanced architectural features such as SVE and SME.

Note: This library is not accepting external contributions at this time.

Building

To build this library in the build directory, type

cmake -B build
cmake --build build

This will produce a static binary called gemm which can be used to test and benchmark all the kernels.

There are a set of present toolchain configurations in toolchains/. E.g.

cmake -B build --toolchain toolchains/native/native-linux-aarch64-gnu.cmake
cmake --build build

Or you can manually set configuration options from CMakeLists.txt.