CUDA 7.5 install on Mac missing nvrtc

佐手、 提交于 2019-12-12 03:27:04

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/36105066/cuda-7-5-install-on-mac-missing-nvrtc

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!