【发布时间】:2016-03-08 22:46:58
【问题描述】:
我正在尝试在我的 Mac Pro(15 英寸,2009 年中,GPU GeForce 9400M)上安装 CUDA。
我已经从https://developer.nvidia.com/cuda-downloads 安装了工具包。
nvcc --version 返回:... Cuda compilation tools, release 7.5, V7.5.19
我直接从软件包中安装了驱动程序,然后从http://www.nvidia.com/object/mac-driver-archive.html 安装。然后从 System Preferences > CUDA Preferences 中,我可以看到CUDA Driver Version: 7.5.25(虽然建议更新 6.5.51 (?))。
我可以编译一个示例 (0_Simple/asyncAPI)。当我启动它时,我得到:
[./asyncAPI] - 开始... ../../common/inc/helper_cuda.h:1111 处的 CUDA 错误 代码=35(cudaErrorInsufficientDriver) "cudaGetDeviceCount(&device_count)"
为什么会出现这个错误??
【问题讨论】:
-
CUDA 7.5 不支持 GeForce 9400M。 CUDA 的最新版本及其支持它的相关驱动程序是 CUDA 6.5