16
17

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

CUDAのインストールパスまとめ

Last updated at Posted at 2015-11-26

ポイント

  • CUDA
    • Linuxは/usr/local/cudaにあるものと思えば良い。lib64なのに注意。libcuda.so/usr/lib64に入るが、これは最初から探してくれる
    • Macも/usr/local/cudaにシンボリックリンクが貼られるのと、libcuda.dylibはここに入る。libなのに注意
  • cuDNN
    • v2はフラットになる。
    • v3はCUDAのディレクトリ構成を意識した作りになっている

CUDA 7.5

Ubuntu 14.04

[Linux] -> [x86_64] -> [Ubuntu] -> [14.04] -> [deb(loca)]

cuda-repo-ubuntu1404-7-5-local_7.5-18_amd64.deb

+ usr
  + lib64
  | + libcuda.so
  + local
    + cuda --> cuda-7.5
    + cuda-7.5
      + bin
      | + nvcc
      + include --> targets/x86_64-linux/include
      + lib64 --> targets/x86_64-linux/lib
      + targets
        + x86_64-linux
          + include
          | + cublas.h
          + lib
            + libcublas.so

Mac 10.10 (Yosemite)

[Mac OSX] -> [x86_64] -> [10.10] -> [dmg(local)]

cuda_7.5.20_mac.dmg

+ usr
| + local
|   + cuda
|     + bin --> /Developer/NVIDIA/CUDA-7.5/bin
|     + include --> /Developer/NVIDIA/CUDA-7.5/include
|     + lib
|       + libcuda.dylib
|       + libcublas.dylib --> /Developer/NVIDIA/CUDA-7.5/lib/libcublas.dylib
+ Developer
  + NVIDIA
    + CUDA-7.5
      + bin
      | + nvcc
      + include
      | + cublas.h
      + lib
        + libcublas.dylib

CUDA 7.0

Mac

cuDNN v3

Linux

cudnn-7.0-linux-x64-v3.0-prod.tgz

+ cuda
  + include
  | + cudnn.h
  + lib64
    + libcudnn.so
    + libcudnn_static.a

Mac

cudnn-7.0-osx-x64-v3.0-prod.tgz

+ cuda
  + include
  | + cudnn.h
  + lib
    + libcudnn.dylib
    + libcudnn_static.a

Windows

cudnn-7.0-win-x64-v3.0-prod.zip

cuda
+ include
| + cudnn.h
+ lib
| + x64
|   + cudnn.lib
+ bin
  + cudnn64_70.dll

cuDNN v2

Linux

cudnn-6.5-linux-x64-v2.tgz

+ cudnn-6.5-linux-x64-v2
  + libcudnn.so
  + cudnn.h
  + libcudnn_static.a

MAC

cudnn-6.5-osx-v2.tgz

+ cudnn-6.5-osx-v2
  + libcudnn.dylib
  + cudnn.h
  + libcudnn_static.a

Windows

cudnn-6.5-win-v2.zip

+ cudnn-6.5-win-v2
  + cudnn.h
  + cudnn.lib
  + cudnn64_65.dll
  + cudnn64_65.lib
16
17
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
16
17

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?