NVIDIA CUDA Compiler Driver NVCC

NVIDIA CUDA Compiler Driver NVCC

1. 检查 CUDA 编译器

strong@foreverstrong:~$ which nvcc
/usr/local/cuda-8.0/bin/nvcc

2. 检查 GPU 加速卡

strong@foreverstrong:~$ ls -l /dev/nv*
crw-rw-rw- 1 root root 195,   0 11月  7 14:59 /dev/nvidia0
crw-rw-rw- 1 root root 195, 255 11月  7 14:59 /dev/nvidiactl
crw-rw-rw- 1 root root 195, 254 11月  7 14:59 /dev/nvidia-modeset
crw-rw-rw- 1 root root 242,   0 11月  7 14:59 /dev/nvidia-uvm
crw-rw-rw- 1 root root 242,   1 11月  7 19:07 /dev/nvidia-uvm-tools

3. Print version information on this tool.

strong@foreverstrong:~$ nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2016 NVIDIA Corporation
Built on Tue_Jan_10_13:22:03_CST_2017
Cuda compilation tools, release 8.0, V8.0.61
strong@foreverstrong:~$ 
strong@foreverstrong:~$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2016 NVIDIA Corporation
Built on Tue_Jan_10_13:22:03_CST_2017
Cuda compilation tools, release 8.0, V8.0.61

 

你可能感兴趣的:(CUDA,-,cuDNN)