问题描述
我在Mac Pro上安装CUDA(15英寸,2009年年中使用GPU GeForce 9400M)。
我是从安装的工具包。
nvcc --version
返回: ... Cuda编译工具,版本7.5,V7.5.19
I am trying to install CUDA on my Mac Pro (15-inch, Mid 2009 with GPU GeForce 9400M).I have installed from https://developer.nvidia.com/cuda-downloads the toolkit.nvcc --version
returns: ... Cuda compilation tools, release 7.5, V7.5.19
我已经从程序包直接安装了驱动程序,然后从。然后从系统首选项> CUDA首选项,我可以看到 CUDA Driver版本:7.5.25
(虽然更新6.5.51建议(?))。
I have installed directly the driver from the package, then from http://www.nvidia.com/object/mac-driver-archive.html. Then from System Preferences > CUDA Preferences, I can see CUDA Driver Version: 7.5.25
(though the update 6.5.51 is proposed (?)).
我可以编译一个示例( 0_Simple / asyncAPI
)。当我启动它,我得到:
I can compile a sample (0_Simple/asyncAPI
). When I launch it, I get:
为什么会出现这个错误
推荐答案
CUDA 7发布周期移除了对计算能力1.x的支持设备。这包括您的Geforce 9400M。
The CUDA 7 release cycle removed support for compute capability 1.x devices on all platforms. This includes your Geforce 9400M.
支持这些设备的最后一个版本是CUDA 6.5。你将需要弄清楚什么XCode版本将与该CUDA工具包和您的操作系统版本合作,并安装它。
The last version with support of those devices was CUDA 6.5. You will need to work out what XCode version will work with that CUDA toolkit and your OS version and install that instead.
[这个回答从社区wiki入口将此问题从CUDA标记的未应答队列中删除]。
[This answer assembled from comments as a community wiki entry to get this question off the unanswered queue for the CUDA tag].
这篇关于OSX 10.10为什么CUDA 7.5认为我的驱动程序不够?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!