I can't find which version/which concepts of c++ is/are supported by CUDA 5.0. I could not find any information in the Programming Guide or Reference Guide delivered with the CUDA 5.0 RC. Especially I'm wondering if CUDA 5.0 supports C++11. Could someone point me to a place to look for this information?
相关问题
- Sorting 3 numbers without branching [closed]
- How to compile C++ code in GDB?
- Why does const allow implicit conversion of refere
- thread_local variables initialization
- What uses more memory in c++? An 2 ints or 2 funct
相关文章
- Class layout in C++: Why are members sometimes ord
- How to mock methods return object with deleted cop
- Which is the best way to multiply a large and spar
- C++ default constructor does not initialize pointe
- Selecting only the first few characters in a strin
- What exactly do pointers store? (C++)
- Converting glm::lookat matrix to quaternion and ba
- What is the correct way to declare and use a FILE
It does not support gcc 4.7 so some of the c++11 features are not available:
now if you are asking about Cuda/C++ or the THRUST library . the thrust library is very similar to the stl c++ in regards to the containers, iterators and algorithms , but it s not c++ 11.
nvcc compiles gpu code . nvcc support ( Cuda C and Cuda C++ /thrust ) gcc compile cpu code . gcc ( support C and C++ ) .
The release notes contain a list of support platforms including which versions of GCC are supported, the 5.0 Release Candidate release notes show that the most recent supported GCC is 4.6 for certain distributions (and older for other distributions).
Once you know which GCC version is supported, compare with the GCC C++0x/C++11 feature list.
Apperently no C++11 features are available in 5.0 RC. nvcc still does not understand C++11 syntax used in the standard includes of gcc 4.6 (see Error while using CUDA and C++11):
$ nvcc --version
$ cat test.cu
$ nvcc -Xcompiler "-std=c++0x" test.cu
...