Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tip

You may check the Compilers commands and common flags page for more details on compiler names and most common options for the different families.

Recommended flags for performance

When building with NVIDIA compilers, they will automatically configure the cpu target for grace.

GCC, however, will only generate code for generic Armv8-A CPU with no additional flags are provided

From GCC 12 onwards, it is possible to specify the following flags to optimise for AG's architecture:

No Format
-O3 -mcpu=grace
Note

The default system GCC version 11 does not support the -mcpu=grace option.