OSX 10.10为什么CUDA 7.5认为我的驱动程序不够? [英] OSX 10.10 Why CUDA 7.5 thinks my driver is insufficient?

查看:1300
本文介绍了OSX 10.10为什么CUDA 7.5认为我的驱动程序不够?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Mac Pro上安装CUDA(15英寸,2009年年中使用GPU GeForce 9400M)。
我是从 https://developer.nvidia.com/cuda-downloads 安装的工具包。
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

我已经从程序包直接安装了驱动程序,然后从 http://www.nvidia.com/object/mac-driver-archive.html 。然后从系统首选项> 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:


[./ asyncAPI] - 正在启动...
CUDA错误在../ ../common/inc/helper_cuda.h:1111
code = 35(cudaErrorInsufficientDriver)
cudaGetDeviceCount(& device_count)

[./asyncAPI] - Starting... CUDA error at ../../common/inc/helper_cuda.h:1111 code=35(cudaErrorInsufficientDriver) "cudaGetDeviceCount(&device_count)"

为什么会出现这个错误

推荐答案

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认为我的驱动程序不够?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆