Please refer to the Release Notes for full details.
Download the current release at https://developer.nvidia.com/nvidia-hpc-sdk-downloads.
View the current documentation.
Please refer to the Release Notes for full details.
Download the current release at https://developer.nvidia.com/nvidia-hpc-sdk-downloads.
View the current documentation.
CMake support for C++23 standard with NVHPC is coming soon: NVHPC: Record C++23 support (!9859) · Merge requests · CMake / CMake · GitLab
Could NVIDIA please document the necessary --gcc-toolchain=/path/to/gcc12
so that C++23 etc. support is actually usable.
Hi Scivision,
Apologies, but I’m not clear on what you would like documented. We don’t document CMake since it’s not our product (though we do have folks that work with kitware), and the “–gcc-toolchain” flag is documented, but not always necessary.
The core issue is that in order to be interoperable with GNU g++, nvc++ must use the g++ header files. Hence our language level support depends on the g++ version nvc++ is configured to use. By default, nvc++ will use the system header files.
If you need to configure nvc++ to use a non-default g++, then you would either add the “–gcc-toolchain” to this location, or update the compiler’s local config file ( found under “~/.config/NVIDIA//localrc.”). If you don’t want the localrc file to apply to all compiles, you can create a new config and then use the environment variable NVLOCALRC to point to new config.
Documentation for this configuration process is something we lack, is this what you’re looking for?
Thanks,
Mat