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
Review frequently asked questions
These FAQs were 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.
After the filter runs, compare the printed pixel values with the documented sample. The 20 output rows are identical. Each row has its highest value,
40, at column 10. The 15x15 kernel spreads the original line from columns 3 through 17.Push
build/extract-android-benchmark/gaussian_blur_benchmark to /data/local/tmp/, set it executable, and run /data/local/tmp/gaussian_blur_benchmark with adb shell.Run
adb shell with taskset <mask> before the binary path. On the test device, the masks 1, 10, and 80 select CPUs 0, 4, and 7. Replace them with masks appropriate for your device.Use
--kernel to select 3, 5, 7, 9, or 15. Use --iterations to set the measurement count. The comparison loop uses --iterations 3000, and the explorer completes 100 warm-up calls before timing.Review the CSV output only after the explorer completes without an
output differs from NEON reference error. It compares SVE2 and SME output byte-for-byte with its Neon reference after warm-up and before timing each backend.