- Download the latest driver for your GPU from the NVIDIA drivers page, install and reboot.
- Instead of installing the latest driver, click on "BETA drivers and archive" and install the oldest driver in the list for your card. If that works, work your way up the list installing later drivers until you find the newest one which works.
how to resolve: Error using nnet.internal.cnngpu.convolveForward2D An error occurred during PTX compilation of <image>.
4 views (last 30 days)
Show older comments
Raghavendra Ramachandra
on 7 Feb 2018
Answered: Jeffrey Daniels
on 12 Mar 2018
I am getting following error in Matlab 2017b:
Error using nnet.internal.cnngpu.convolveForward2D An error occurred during PTX compilation of image.
can anyone suggest how to resolve this?
Following are tried: - reinstalling the Matlab. - gpu was reset
1 Comment
Joss Knight
on 7 Feb 2018
Some customers are seeing similar issues with newer CUDA 9.1 drivers. Try the following:
If you can, report back here which drivers are faulty.
Accepted Answer
More Answers (1)
Jeffrey Daniels
on 12 Mar 2018
Once again Joss Knight has the correct answer. I would supplement his answer by adding that I already had the latest drivers installed when I experienced a similar 'PTX compilation' error after I pushed the GPU beyond it's memory limits with too many workers. I ran gpuBench and got zeros for all metrics except FFT, which I thought was curious but assured me I had not broken my GPU. I reinstalled the factory drivers and gpuBench worked again. Then I reduced the number of parallel workers I run at one time. I have not had the error again yet. Your results will vary based on the size of your matrix operations.
0 Comments
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!