NVIDIA CUDA SDK Examples Compilation Unsupported Architecture 'compute_20'

旧城冷巷雨未停 提交于 2019-12-11 12:32:28

问题


On compilation of the CUDA SDK, I'm getting a nvcc fatal : Unsupported gpu architecture 'compute_20' My toolkit is 2.3 and on a shared system (i.e cant really upgrade) and the driver version is also 2.3, running on 4 Tesla C1060s

If it helps, the problem is being called in radixsort.

It appears that a few people online have had this problem but i havent found anywhere that actually gives a solution.


回答1:


I believe compute_20 is targeting Fermi hardware, which you do not have. Also, Cuda 2.3 doesn't support Fermi features or compute_20. Try using compute_13 instead.




回答2:


You are compiling the 3.x SDK with a 2.3 Toolkit, that won't work since as you've now seen compute_20 is not supported.

The simplest solution is to either upgrade your Toolkit or downgrade your SDK. You could try changing the makefile (common.mk in C/common) on Linux or changing the Build Properties on Windows to select only compute_13, but there may be other problems so it may be simpler to align the SDK/Toolkit versions.

Note that if you don't have administrator priviledges then you can install a local version of the Toolkit alongside the SDK but you would need admi to upgrade the driver.



来源:https://stackoverflow.com/questions/3047909/nvidia-cuda-sdk-examples-compilation-unsupported-architecture-compute-20

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!