cuda 版本 cat /usr/local/cuda/version.txt 或者nvcc -V cudnn 版本 cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2