NVIDIA CUDA SDK 示例编译不支持的架构“compute_20”
在编译 CUDA SDK 时,我收到 nvcc fatal : Unsupported gpu Architecture 'compute_20' 我的工具包是 2.3,位于共享系统上(即无法真正升级),驱动程序版本也是 2.3,在 4 Tesla C1060 上运行
如果它有帮助,问题是在基数排序中调用的。
网上似乎有一些人遇到了这个问题,但我还没有找到任何真正提供解决方案的地方。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我相信compute_20的目标是费米硬件,而你没有。此外,Cuda 2.3 不支持 Fermi 功能或compute_20。尝试改用compute_13。
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.3 Toolkit 编译 3.x SDK,这将无法工作,因为正如您现在所看到的,compute_20 不受支持。
最简单的解决方案是升级 Toolkit 或降级 SDK。您可以尝试在 Linux 上更改 makefile(C/common 中的 common.mk)或更改 Windows 上的构建属性以仅选择compute_13,但可能存在其他问题,因此调整 SDK/Toolkit 版本可能会更简单。
请注意,如果您没有管理员权限,则可以与 SDK 一起安装本地版本的 Toolkit,但需要 admi 来升级驱动程序。
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.