How to verify CuDNN installation?

前端 未结 9 958
余生分开走
余生分开走 2020-11-29 15:02

I have searched many places but ALL I get is HOW to install it, not how to verify that it is installed. I can verify my NVIDIA driver is installed, and that CUDA is installe

9条回答
  •  悲哀的现实
    2020-11-29 15:30

    I have cuDNN 8.0 and none of the suggestions above worked for me. The desired information was in /usr/include/cudnn_version.h, so

    cat /usr/include/cudnn_version.h | grep CUDNN_MAJOR -A 2
    

    did the trick.

提交回复
热议问题