Get the latest tech news
GCC 15 Adds NVIDIA Grace CPU Support With "-mcpu=grace" Option
NVIDIA has upstreamed a patch to the GCC 15 compiler for adding the '-mcpu=grace' option to make it easier to target NVIDIA Grace AArch64 CPU cores from this open-source compiler.
This patch in GCC 15 Git as of today now allows for enabling all of the NVIDIA Grace CPU ISA capabilities. So the GCC compiler has already worked on these AArch64 cores, but without any explicit "-mcpu=" option to precisely match the processor capabilities and thus developers/users needing to resort to the more generic -mcpu=neoverse-v2 or rely on manually passing all the compiler feature options. For those that missed my previous (remote) testing of the Grace CPUs, see the GH200 articles for benchmarks and more.
Or read this on Phoronix