How to get the cuda version?

后端 未结 19 2143
囚心锁ツ
囚心锁ツ 2020-11-30 16:24

Is there any quick command or script to check for the version of CUDA installed?

I found the manual of 4.0 under the installation directory but I\'m not sure whether

19条回答
  •  执笔经年
    2020-11-30 16:38

    You can check the version of CUDA using

    nvcc -V
    

    or you can use

    nvcc --version
    

    or You can check the location of where the CUDA is using

    whereis cuda 
    

    and then do

    cat location/of/cuda/you/got/from/above/command
    

提交回复
热议问题