This repository provides example programs, reference implementations, tests, and benchmarks for Optimize code with Arm Scalable Vector Extension (SVE). Follow the course for prerequisites, environment setup, and exercise instructions, then use the module links to find the accompanying code.
Module 0 introduces the course and shared setup; it has no separate code directory.
- Follow the lesson's environment and command instructions, then open the implementation in the corresponding module directory.
- Keep the complete repository together. C++ modules use the shared build infrastructure in course_support/. Configure and build from the repository root using the build, test, and benchmark guide.
- Build the Rust and Go examples separately using the commands in the build guide. Their toolchain and runtime requirements differ from the C++ tasks.
- Use the intrinsics overview to find examples of particular SVE operations. For performance measurements, use a Release build on native hardware with the required features; the build guide also describes QEMU for correctness checks.
Optional SVE and SIMD optimization guidance for AI agents supports working with the code.
For fixes and new tasks, see Contributing. Code is provided under the Clear BSD License.