Can't seem to get CUDA to work

I’m trying to set up my GPU for machine learning algos. I followed one of the many tutorials online and it doesn’t seem to be working. When I run theano in python I get the following error:

CUDA is installed, but gpu device not detected.

Here’s my NVIDIA-SMI log:

C:\Program Files\NVIDIA Corporation\NVSMI>nvidia-smi
Mon Dec 05 12:38:15 2016
±----------------------------------------------------------------------------+
| NVIDIA-SMI 373.19 Driver Version: 373.19 |
|-------------------------------±---------------------±---------------------+
| GPU Name TCC/WDDM | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 1070 WDDM | 0000:01:00.0 On | N/A |
| N/A 48C P8 12W / N/A | 1177MiB / 8192MiB | 0% Default |
±------------------------------±---------------------±---------------------+

±----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1028 C+G Insufficient Permissions N/A |
| 0 1144 C+G …ual Studio 12.0\Common7\IDE\WDExpress.exe N/A |
| 0 4820 C+G C:\Windows\explorer.exe N/A |
| 0 5460 C+G …ost_cw5n1h2txyewy\ShellExperienceHost.exe N/A |
| 0 5692 C+G …indows.Cortana_cw5n1h2txyewy\SearchUI.exe N/A |
| 0 7780 C+G …m Files (x86)\Mozilla Firefox\firefox.exe N/A |
| 0 9728 C+G …m Files (x86)\Mozilla Firefox\firefox.exe N/A |
±----------------------------------------------------------------------------+

I used CUDA 8.0.44 on Windows 10 and my graphics card is updated to the latest driver.

Any help would be greatly appreciated.

If you want to validate whether CUDA is installed and working properly, follow the instructions in the windows install guide provided by NVIDIA.

I know it is installed and working properly because I was able to successfully run the sample file in the CUDA samples folder.

I also have Theano up and running properly as well. I just cant get Theano to detect and use the GPU.

“Can’t seem to get CUDA to work” != “Can’t get Theano to detect and use the GPU”

The percentage of Theano users using GPUs is probably higher than the percentage of CUDA users using Theano, so you might get faster / better assistance with this issue in a forum dedicated to Theano.