查看CUDA版本 cat /usr/local/cuda/version.txt 查看cuDNN版本 cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2