MATLAB: A problem in MatConvNet to Compiling the cuDNN support

cudnn compliematconvnet

Matlab2016a in Windows10 64 bites. The information of my Gpu
Name: 'Quadro K620'
Index: 1
ComputeCapability: '5.0'
SupportsDouble: 1
DriverVersion: 7.5000
ToolkitVersion: 7.5000
MaxThreadsPerBlock: 1024
MaxShmemPerBlock: 49152
MaxThreadBlockSize: [1024 1024 64]
MaxGridSize: [2.1475e+09 65535 65535]
SIMDWidth: 32
TotalMemory: 2.1475e+09
AvailableMemory: 1.7018e+09
MultiprocessorCount: 3
ClockRateKHz: 1124000
ComputeMode: 'Default'
GPUOverlapsTransfers: 1
KernelExecutionTimeout: 1
CanMapHostMemory: 1
DeviceSupported: 1
DeviceSelected: 1
And I do this
vl_compilenn('enableGpu',true,'cudaRoot',...
'C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5','cudaMethod','nvcc','enableCudnn',true,'cudnnRoot',...
'local/cudnn-rc4')
Then the error
Error using vl_compilenn>nvcc_compile (line 540)
Command "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\bin\nvcc" -c
"E:\MatConvNet\matconvnet-1.0-beta23\matlab\src\bits\impl\nnbilinearsampler_cudnn.cu" -DNDEBUG -DENABLE_GPU -DENABLE_CUDNN
-I"local\cudnn-rc4\include" -DENABLE_DOUBLE -D__SSSE3__ -gencode=arch=compute_50,code=\"sm_50,compute_50\" -I"D:\Program
Files\MATLAB\R2016a\extern\include" -I"D:\Program Files\MATLAB\R2016a\toolbox\distcomp\gpu\extern\include"
-gencode=arch=compute_50,code=\"sm_50,compute_50\" -O3 -Xcompiler /MD --compiler-bindir "C:\Program Files (x86)\Microsoft
Visual Studio 12.0\VC\..\VC\bin" -o
"E:\MatConvNet\matconvnet-1.0-beta23\matlab\mex\.build\bits\impl\nnbilinearsampler_cudnn.obj" failed.
Error vl_compilenn (line 485)
nvcc_compile(opts, srcs{i}, objfile, flags.nvcc) ;
Please help me!I don't what the problem is.Please!

Best Answer

There is nothing obvious there. I would, though, recommend that you use a complete path for the last parameter. Also double check that you have write permission to the E:/MatconvNet etc directory described by that -o switch