I have been having similar problems. I have NVIDIA 1070 GPU on a desktop machine with Asus Z270E motherboard and was able to import theano after setting up the .theanorc file as below. (And rebooting afterwards)
[global]
floatX = float32
device = gpu
[cuda]
root = /usr/local/cuda
[lib]
cnmem = 1