The CUDA error was: an illegal instruction was encountered

11 次查看(过去 30 天)
I use gpu to train neural network and the first several (about 20) iterations are OK, but it will suddenly stop and shows the following error.
If i click "run" again, it will show the same error immediately without executing even one iteration at all.
I have to exit matlab and reboot my computer to run it again, and it gives the same error as before.
error2.png
I installed Nvidia driver with version 419.67 before which gave "DriverVersion: 10.1000",
but now i installed version 391.35 which gave "DriverVersion: 9.1000" as below.
gpuDevice.PNG
Meanwhile, the cuda 9.1.85 (although not necessary) is also installed with cudnn.
cuda.png
So can anyone tell me how to fix the problem? thx
So can anyone tell me how to fix the problem? thx
So can anyone tell me how to fix the problem? thx
  1 个评论
Andrea Picciau
Andrea Picciau 2019-6-19
Hi Loren. What version of MATLAB are you using? Are you having the same problem with the version 391.35 driver?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 GPU Computing 的更多信息

产品


版本

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by