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.
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.
Meanwhile, the cuda 9.1.85 (although not necessary) is also installed with cudnn.
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
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 Center 和 File Exchange 中查找有关 GPU Computing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!