Compare KleidiCV Gaussian blur with Neon, SVE2, and SME on Android
Introduction
Set up the Android build environment
Run the standalone SME Gaussian blur example
Build and customize the Gaussian blur performance explorer
Compare Neon, SVE2, and SME performance
Next Steps
Compare KleidiCV Gaussian blur with Neon, SVE2, and SME on Android
Who is this for?
This is an advanced topic for C and C++ developers who want to evaluate SIMD image-processing implementations on an Arm-based Android device.
What will you learn?
After completing this Learning Path, you'll be able to perform the following tasks:
- Build KleidiCV Gaussian blur examples with the Android NDK.
- Run a minimal SME Gaussian blur example on an Android device.
- Explore the performance of Neon, SVE2, and SME implementations with controlled CPU affinity.
- Interpret how kernel size and image resolution affect SME speedup.
Prerequisites
Before starting, you'll need the following prerequisites:
- A Ubuntu or Debian x86_64 Linux development machine with Git, CMake, Python 3, and Android Debug Bridge (
adb) installed - A 64-bit Arm Android device with SVE2 and SME support
- Basic familiarity with C++, CMake, and
adb
Summary
This summary was drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
You’ll set up an Android NDK environment, build a KleidiCV SME Gaussian blur example, and run it on a compatible 64-bit Arm Android device. Next, you’ll confirm its output, add and build a performance explorer, and use it to compare Neon, SVE2, and SME. Finally, you’ll run controlled tests with fixed CPU affinity, compare p50 latency, and see how image resolution and kernel size affect SME speedup.