Initially we wrote plenty of code in C++ 11 however cuda 5.5 doesnt support various c++11 constructs. Is there a reference to which is the g++ version that different versions nvcc use, specifically for cuda 5.5 or cuda 6??
Asked
Active
Viewed 1,794 times
2
-
You may not be asking the right question. I use `gcc` 4.8.2 (not officially supported for CUDA 5.5), but this does not mean that I can use C++11 features with `nvcc` blindly. This may be a duplicate of: [c++ version supported by cuda 5.0](http://stackoverflow.com/questions/12073828/c-version-supported-by-cuda-5-0) – BenC Jan 13 '14 at 10:20
1 Answers
2
There is a list of compilers supported by the CUDA toolchain in every copy of the documentation - for example here for CUDA 5.5 on linux.
At the moment, the release versions of gcc 4.7 shipped with Ubuntu, Fedora and OpenSuSe are the most recent compiler version supported with the CUDA 5.5 release toolkit.

talonmies
- 70,661
- 34
- 192
- 269