NVIDIA Tegra
NVIDIA Tegra Linux Driver Package

Development Guide
28.3 Release


 
TX2 GCC Compile Time Optimization
For best practices, additional compilation flags needed to produce optimized code for the Jetson TX2 CPU architecture Cortex-A57 and Denver 2 include:
O3 -ffast-math -flto -march=armv8-a+crypto -mcpu=cortex-a57+crypto
Other application dependent optimization options include:
-funroll-loops
-fvect-cost-model=unlimited