CUDA 8 + VS2015 corecrt.h error

@TalhaA Were you able to find a permanent fix for this problem? I’m seeing the exact same issue trying to run Theano’s cpu_gpu_test.py on Windows 10 with CUDA 8 and VS2015:

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory
ERROR (theano.sandbox.cuda): Failed to compile cuda_ndarray.cu: ('nvcc return status', 2, 'for cmd', 'nvcc -shared -O3 -Xlinker /DEBUG -D HAVE_ROUND -m64 -Xcompiler -DCUDA_NDARRAY_CUH=18715462c72ed6afcd7ca5d52813ce90,-DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION,/Zi,/MD -IC:\\toolkits\\anaconda2-4.2.0\\lib\\site-packages\\theano-0.8.2-py2.7.egg\\theano\\sandbox\\cuda -IC:\\toolkits\\anaconda2-4.2.0\\lib\\site-packages\\numpy\\core\\include -IC:\\toolkits\\anaconda2-4.2.0\\include -IC:\\toolkits\\anaconda2-4.2.0\\lib\\site-packages\\theano-0.8.2-py2.7.egg\\theano\\gof -o C:\\Users\\Phil\\AppData\\Local\\Theano\\compiledir_Windows-10-10.0.14393-Intel64_Family_6_Model_79_Stepping_1_GenuineIntel-2.7.12-64\\cuda_ndarray\\cuda_ndarray.pyd mod.cu -LC:\\toolkits\\anaconda2-4.2.0\\libs -LC:\\toolkits\\anaconda2-4.2.0 -lcublas -lpython27 -lcudart')
WARNING (theano.sandbox.cuda): CUDA is installed, but device gpu is not available  (error: cuda unavailable)
nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
mod.cu

['nvcc', '-shared', '-O3', '-Xlinker', '/DEBUG', '-D HAVE_ROUND', '-m64', '-Xcompiler', '-DCUDA_NDARRAY_CUH=18715462c72ed6afcd7ca5d52813ce90,-DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION,/Zi,/MD', '-IC:\\toolkits\\anaconda2-4.2.0\\lib\\site-packages\\theano-0.8.2-py2.7.egg\\theano\\sandbox\\cuda', '-IC:\\toolkits\\anaconda2-4.2.0\\lib\\site-packages\\numpy\\core\\include', '-IC:\\toolkits\\anaconda2-4.2.0\\include', '-IC:\\toolkits\\anaconda2-4.2.0\\lib\\site-packages\\theano-0.8.2-py2.7.egg\\theano\\gof', '-o', 'C:\\Users\\Phil\\AppData\\Local\\Theano\\compiledir_Windows-10-10.0.14393-Intel64_Family_6_Model_79_Stepping_1_GenuineIntel-2.7.12-64\\cuda_ndarray\\cuda_ndarray.pyd', 'mod.cu', '-LC:\\toolkits\\anaconda2-4.2.0\\libs', '-LC:\\toolkits\\anaconda2-4.2.0', '-lcublas', '-lpython27', '-lcudart']
[Elemwise{exp,no_inplace}(<TensorType(float32, vector)>)]
Looping 1000 times took 17.250000 seconds
Result is [ 1.23178029  1.61879337  1.52278066 ...,  2.20771813  2.29967761
  1.62323284]
Used the cpu