MATLAB: Error using parallel.g​pu.CUDADev​ice.hBuild An unexpected error occurred trying to retrieve CUDA device properties. The CUDA error was: CUDA_ERROR_UNKNOWN

cudanueral network

Hello I am getting error while running nueral network programs the error is "Error using parallel.gpu.CUDADevice.hBuild An unexpected error occurred trying to retrieve CUDA device properties. The CUDA error was: CUDA_ERROR_UNKNOWN" few days back it used to run properly from 2 days it is displaying this error. even i tried updating drivers no use. please help me .

Best Answer

2019-03-16 (2).png
select high performance option for MATLAB on NVIDIA control panel to solve. It works :)