how to resolve: Error using nnet.inter​nal.cnngpu​.convolveF​orward2D An error occurred during PTX compilation of <image>.

4 visualizzazioni (ultimi 30 giorni)
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 Commento
Joss Knight
Joss Knight il 7 Feb 2018
Some customers are seeing similar issues with newer CUDA 9.1 drivers. Try the following:
  1. Download the latest driver for your GPU from the NVIDIA drivers page, install and reboot.
  2. 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.
If you can, report back here which drivers are faulty.

Accedi per commentare.

Risposta accettata

Raghavendra Ramachandra
Raghavendra Ramachandra il 7 Feb 2018
Thanks for the suggestion. The first option worked well and the problem is now fixed.

Più risposte (1)

Jeffrey Daniels
Jeffrey Daniels il 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.

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by