How to check the cuda and cudnn version numbers under windows

Check cuda version

(1) Enter cmd
(2) Enter the commandnvcc --version
Insert image description here
You can see that the cuda version is 11.6

View cudnn version

(1) Enter the cuda installation directory, you can refer to my directory:

D:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6\include

(2) Find the cudnn_version.h file and drag it to the bottom:
Insert image description here
You can see that the cudnn version is 8.5.0

Guess you like

Origin blog.csdn.net/weixin_45246566/article/details/129108241