Use the Eigen Linear Algebra Library on Arm
Introduction
About Eigen
Eigen examples
Eigen on Arm
Build and Run TensorFlow with SVE
Next Steps
Use the Eigen Linear Algebra Library on Arm
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.
Example 1 prints a single numeric value representing the sum of all elements. Example 2 prints one number from
C.norm(). The exact values can vary because the matrices are randomized.Yes. Edit the
N constant or the matrix sizes in the sample code, then rebuild. Larger matrices or a higher N increase runtime.The example is structured so Eigen can use FMA on CPUs that support it. You don’t need to verify FMA usage to continue. A correct run still prints a single numeric norm.
Use a recent version of GCC or Clang on Linux as listed in the prerequisites. A successful build runs and prints the expected single-number outputs without errors.
Follow the TensorFlow build-from-source flow in this path, including the SVE-related steps and required dependencies. A successful outcome completes the build and allows TensorFlow to run on your Arm system.