CUDA 7.5安装在Mac上缺少nvrtc [英] CUDA 7.5 install on Mac missing nvrtc

查看:627
本文介绍了CUDA 7.5安装在Mac上缺少nvrtc的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据文档,当我在我的Mac(OSX 10.11)上安装CUDA 7.5工具包,我应该得到nvrtc文件。我不。在哪里可以找到nvrtc头文件和库?他们是否应该在捆绑中,而不是?

解决方案

所以诀窍是:



1)安装XCode(从App Store)FIRST。在App Store完成安装后,您必须进入您的应用程序菜单,并实际运行它并接受许可证。



2)使用Homebrew版本:

  $ brew install Caskroom / cask / cuda 

3)最后,您可以更新您的PATH和LD_LIBRARY_PATH以找到新代码:

  $ export PATH = / usr / local / cuda / bin:$ {PATH} 
$ export LD_LIBRARY_PATH = / usr / local / cuda / lib:$ {LD_LIBRARY_PATH}
/ pre>

由于某些原因,只需从NVidia下载软件包并安装它,就不能完全安装。


According to the documentation, when I install the CUDA 7.5 Toolkit on my Mac (OSX 10.11) I should get the nvrtc files with it. I do not. Where do I pick up the nvrtc header files and libraries? Were they supposed to be in the bundle and left out? Were the deprecated or replaced with something else?

解决方案

So the trick is:

1) Install XCode (from the App Store) FIRST. After the App Store is done installing it, you have to go into your Application menu and actually run it and accept the license.

2) Use the Homebrew version:

$  brew install Caskroom/cask/cuda

3) Lastly, you can update your PATH and LD_LIBRARY_PATH to find the new code:

$ export PATH=/usr/local/cuda/bin:${PATH}
$ export LD_LIBRARY_PATH=/usr/local/cuda/lib:${LD_LIBRARY_PATH}

For some reason, simply downloading the package from NVidia and installing it does not get you a complete installation.

这篇关于CUDA 7.5安装在Mac上缺少nvrtc的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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