官术网_书友最值得收藏!

Mac

This section covers steps to install CUDA on macOS. It needs the *.dmg installer downloaded from the CUDA website. The steps to install after downloading the installer are as follows:

  1. Launch the installer and follow the onscreen prompt to complete the installation. It will install all prerequisites, CUDA, toolkit, and CUDA samples.
  1. Then, you need to set environment variables to point at CUDA installation using the following commands:
If you have not installed CUDA at the default locations, you need to change the path to point at your installation location.
  export PATH=/Developer/NVIDIA/CUDA-x.x/bin${PATH:+:${PATH}}
export DYLD_LIBRARY_PATH=/Developer/NVIDIA/CUDA-x.x/lib\
${DYLD_LIBRARY_PATH:+:${DYLD_LIBRARY_PATH}}
  1.  Run the script: cuda-install-samples-x.x.sh. It will install CUDA samples with write permissions.
  2. After it has completed, you can go to bin/x86_64/darwin/release and run the  deviceQuery project. If the CUDA toolkit is installed and configured correctly, it will display your GPU's device properties.
主站蜘蛛池模板: 名山县| 内黄县| 许昌县| 南靖县| 尼木县| 洛隆县| 华宁县| 新闻| 乌兰县| 吉木乃县| 方山县| 祁连县| 定安县| 卫辉市| 鸡西市| 尼木县| 东山县| 杭锦后旗| 崇州市| 海城市| 沙田区| 罗甸县| 宝清县| 沈丘县| 萝北县| 游戏| 本溪市| 承德县| 衡水市| 文昌市| 三亚市| 南城县| 潜山县| 东城区| 枞阳县| 清徐县| 盈江县| 洛阳市| 凯里市| 阜宁县| 年辖:市辖区|