Overview of KleidiAI
mainKleidiAI is an open-source library providing optimized performance-critical routines, known as micro-kernels, for artificial intelligence (AI) workloads on Arm® CPUs. It is designed for easy integration into C or C++ machine learning (ML) and AI frameworks.
Key characteristics:
- No dependencies on external libraries.
- No dynamic memory allocation, memory management, or scheduling.
- Stateless, stable, and consistent API.
- Standalone usage: Developers can include only the specific
.cand.hfiles for the micro-kernels they need, along with the commonkai_common.hheader. - Flexible API: Designed to allow callers to control workload dispatching (e.g., processing specific sections of an output tensor) to support multi-threading or partial processing.