Nsight VS2012 was not found,no CUDA-capable device is detected,cudaGetDeviceCount returned 30

问题一 VS2012 was not found

   为了实践Deep Learning有关的算法,尝试在本子上搭建Theano环境,按照Theano官网一步步进行配置,但还是遇到了不少问题,心好累~~(* ̄3 ̄)╭

在用VS2012 Express作为编译器安装CUDA5.5时遇到一个问题:
    Nsight for Visual Studio 2012 not installed
    Reason:VS2012 was not found

Nsight VS2012 was not found,no CUDA-capable device is detected,cudaGetDeviceCount returned 30_第1张图片

    Nvida官网上给出的解释是:Neight不支持VS2012 Express 版本,建议安装VS2012专业版。一分钱一分货呐,orz~。下面是官网原话:

Refer to the below list for possible troubleshooting solutions to the above-mentioned scenarios that may arise during installation. Click on the URL links to download and install the necessary software needed for Nsight™ Visual Studio Edition.

1. Nsight for Visual Studio 2015 will not be installed

    * Visual Studio 2015 Community Edition or better is not installed. Express edition is not supported due to lack of support for plugins.

2. Nsight for Visual Studio 2013 will not be installed

    * Visual Studio 2013 Community Edition or better is not installed. Express edition is not supported due to lack of support for plugins.

3. Nsight for Visual Studio 2012 will not be installed

    * Visual Studio 2012 Professional or better is not installed. Express edition is not supported due to lack of support for plugins.

4. Nsight for Visual Studio 2010 will not be installed

    * Visual Studio 2010 or better is not installed. Express edition is not supported due to lack of support for plugins.

5. Nsight Monitor and HUD will not be installed

    * .NET Framework 4.5 is not installed

附官网解答地址:https://developer.nvidia.com/install-nsight-visual-studio-edition

问题二 no CUDA-capable device is detected

nvida kernel module与驱动不匹配,选择其他版本CUDA,比如CUDA6.5

问题三 cudaGetDeviceCount returned 30

需要更新NVIDA GeForce Experience驱动,可以直接用鲁大师的驱动管理(360驱动大师)进行更新的。

Nsight VS2012 was not found,no CUDA-capable device is detected,cudaGetDeviceCount returned 30_第2张图片

你可能感兴趣的:(深度学习)