You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's worth noting that the supported version of GCC is a function of both the OS distribution and the CUDA version. There's a table in the CUDA installation guide (here for the latest, here for 9.2, here for 8.0) that says what version is supported in different situations. In other words, not necessarily something you'd want to have hard-coded.
I think the most common situation where this crops up is when building to support an older GPU with a newer OS (e.g. using hardware that only supports up to CUDA 9.1 on Ubuntu 18.04).
In any case the user has to have the correct version of GCC installed, so I don't think it can be handled totally automatically.
The nature of this problem may have changed a bit with the improved CUDA support in CMake 3.10 and newer, though we'll need to test on the appropriate combination of drivers and hardware. Pointing to a specific GCC version can now be done via set_target_properties:
Add cuda options
OPTIONS --compiler-bindir /usr/bin/gcc-6
below to get it no build without changing your host gcc version.The text was updated successfully, but these errors were encountered: