How to get the cuda version?

后端 未结 19 2168
囚心锁ツ
囚心锁ツ 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:50

    Apart from the ones mentioned above, your CUDA installations path (if not changed during setup) typically contains the version number

    doing a which nvcc should give the path and that will give you the version

    PS: This is a quick and dirty way, the above answers are more elegant and will result in the right version with considerable effort

提交回复
热议问题