ubuntu系统查看cuda和cudnn版本号

ubuntu系统查看cuda和cudnn版本号


查看cuda版本号:

方法1

cat /usr/local/cuda/version.txt

在这里插入图片描述

方法2

nvcc -V

在这里插入图片描述


查看cudnn版本号

cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2

在这里插入图片描述


参考链接:

ubuntu16.04查看CUDA和cuDNN版本


希望能帮到大家。
2020.1.6.


猜你喜欢

转载自blog.csdn.net/jsk_learner/article/details/103855960